引导抽卡:去除保底
This commit is contained in:
@@ -381,7 +381,7 @@ export class GachaHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let gachaPull = new GachaPull(gachaId, 0, []);
|
let gachaPull = new GachaPull(gachaId, 0, []);
|
||||||
gachaPull.setByUserGacha(dicGacha, userGacha);
|
gachaPull.setByUserGacha({...dicGacha, floorReward: 0}, userGacha);
|
||||||
let { resultList } = gachaPull.pull(count);
|
let { resultList } = gachaPull.pull(count);
|
||||||
|
|
||||||
userGacha = await UserGachaModel.updateInfo(roleId, gachaId, 0, { guideResultList: resultList, guideCount: guideCount + 1 })
|
userGacha = await UserGachaModel.updateInfo(roleId, gachaId, 0, { guideResultList: resultList, guideCount: guideCount + 1 })
|
||||||
|
|||||||
Reference in New Issue
Block a user