From b80af321a96736977bb256a5098dd842cd39eb7b Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 2 Sep 2021 17:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BB=E6=88=90=EF=BC=9A=E6=94=BE=E7=BD=AE?= =?UTF-8?q?=E4=BA=8E=E7=99=BE=E5=AE=B6=E5=AD=A6=E5=AE=AB=E5=86=85=E7=9A=84?= =?UTF-8?q?=E6=AD=A6=E5=B0=86=E8=A7=89=E9=86=92bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/pubUtils/playerCe.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/pubUtils/playerCe.ts b/shared/pubUtils/playerCe.ts index 44b4e9de1..04d5471f5 100644 --- a/shared/pubUtils/playerCe.ts +++ b/shared/pubUtils/playerCe.ts @@ -985,6 +985,7 @@ async function calSchoolStarIncAttr(role: RoleType, heros: HeroType[], type: num preQuality--; } else if (type == HERO_SYSTEM_TYPE.COLORSTAR) { preColorStar--; + if(preColorStar <= 0) preQuality--; } else { return null; }