抽卡:求贤若渴pick武将按品质算数量
This commit is contained in:
@@ -194,12 +194,12 @@ export class GachaHandler {
|
||||
let resultList: GachaResult[] = [];
|
||||
for (let h of resultHeroes) {
|
||||
let result = new GachaResult(contentId);
|
||||
result.setHero(h.hid);
|
||||
result.setHero(h.hid, 1);
|
||||
resultList.push(result);
|
||||
}
|
||||
for (let g of goods) {
|
||||
let result = new GachaResult(contentId);
|
||||
result.setHero(hero);
|
||||
result.setHero(hero, 1);
|
||||
result.transferToPiece(g.id, g.count);
|
||||
resultList.push(result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user