From 47f65e23baac77759e73a5e6242443b17caa8fa2 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 29 Dec 2020 15:26:22 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=9D=E5=A7=8B=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=98=9F=E7=BA=A7=E8=AF=BB=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/pubUtils/playerCe.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index 638ed512a..93637e47c 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -198,9 +198,9 @@ export function calHeroStarIncAttr(hero: HeroType, type: number, hid: number, ar const isWake = colorStar > 0; // 是否觉醒,只要激活了觉醒,彩星就会 > 1 if(isWake) { - if(colorStarStage == ABI_STAGE.START && !isInit) originColorStar = colorStar - 1; + if(colorStarStage == ABI_STAGE.START) originColorStar = colorStar - 1; } else { - if(starStage == ABI_STAGE.START && !isInit) originStar = star - 1; + if(starStage == ABI_STAGE.START) originStar = star - 1; } const dicStar = isWake ? getHeroWakeByQuality(quality, originColorStar) : getHeroStarByQuality(quality, originStar); // 星级表