活动:添加保底判断
This commit is contained in:
@@ -21,7 +21,7 @@ export class NewHeroGachaItem {
|
||||
this.floorCount = data.floorCount;
|
||||
this.cost = parseGoodStr(data.cost);
|
||||
this.percent = [];
|
||||
this.floorReward = data.floorReward;
|
||||
this.floorReward = data.floorReward - 1;
|
||||
this.count = 0;
|
||||
let arr = data.percent.split('|').filter(obj => { return obj && obj != '' });
|
||||
for (let obj of arr) {
|
||||
|
||||
Reference in New Issue
Block a user