抽卡:修复保底计算错误
This commit is contained in:
@@ -136,9 +136,9 @@ function countFloorPercent(id: number, floor: Floor[]) {
|
||||
function getHeroQuality(id: number) {
|
||||
if(id == GACHA_FLOOR_TYPE.PURPLE) {
|
||||
return HERO_QUALITY_TYPE.PURPLE;
|
||||
} else if (GACHA_FLOOR_TYPE.GOLD) {
|
||||
} else if (id == GACHA_FLOOR_TYPE.GOLD) {
|
||||
return HERO_QUALITY_TYPE.GOLD;
|
||||
} else if (GACHA_FLOOR_TYPE.ASSIGN) {
|
||||
} else if ( id == GACHA_FLOOR_TYPE.ASSIGN) {
|
||||
return 0
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user