🐞 fix(抽卡): 新武将抽卡会对应多个卡池
This commit is contained in:
@@ -66,6 +66,7 @@ export class GachaHandler {
|
||||
|
||||
let resultList: GachaResultIndb[] = [], heroInfo: CreateHeroParam[] = [], items: RewardInter[] = [], consume: ItemInter[] = [];
|
||||
for(let { dic, min, max } of getDicGachas(dicGacha.gachaType, historyCount, count)) {
|
||||
if(dicGacha.gachaType != GACHA_TYPE.NORMAL && dic.id != gachaId) continue;
|
||||
// console.log('##########', dic, min, max)
|
||||
let _count = max + 1 - min;
|
||||
let gachaPull = new GachaPull(dic, { hope, floor, pickHero });
|
||||
|
||||
Reference in New Issue
Block a user