fix 初始战力星级读表错误
This commit is contained in:
@@ -211,9 +211,9 @@ export function calHeroStarIncAttr (hero: HeroType, type: number, hid: number, a
|
||||
|
||||
const isWake = colorStar > 0; // 是否觉醒,只要激活了觉醒,彩星就会 > 1
|
||||
if(isWake) {
|
||||
if(colorStarStage == ABI_STAGE.START) originColorStar = colorStar - 1;
|
||||
if(colorStarStage == ABI_STAGE.START && !isInit) originColorStar = colorStar - 1;
|
||||
} else {
|
||||
if(starStage == ABI_STAGE.START) originStar = star - 1;
|
||||
if(starStage == ABI_STAGE.START && !isInit) originStar = star - 1;
|
||||
}
|
||||
const dicStar = isWake? getHeroWakeByQuality(quality, originColorStar): getHeroStarByQuality(quality, originStar); // 星级表
|
||||
|
||||
|
||||
Reference in New Issue
Block a user