引导抽卡:去除保底

This commit is contained in:
luying
2021-12-21 11:23:18 +08:00
parent 88ab04ffb7
commit 04a6824ca8

View File

@@ -381,7 +381,7 @@ export class GachaHandler {
}
let gachaPull = new GachaPull(gachaId, 0, []);
gachaPull.setByUserGacha(dicGacha, userGacha);
gachaPull.setByUserGacha({...dicGacha, floorReward: 0}, userGacha);
let { resultList } = gachaPull.pull(count);
userGacha = await UserGachaModel.updateInfo(roleId, gachaId, 0, { guideResultList: resultList, guideCount: guideCount + 1 })