From 0bc333bfa83653706849616d0da1f80bd404c0df Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 24 Aug 2021 16:33:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BB=E5=AE=9D=EF=BC=9A=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E4=BA=BA=E6=98=9F=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/battleService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/battleService.ts b/game-server/app/services/battleService.ts index b16bb5fb1..ef8e3f3ad 100644 --- a/game-server/app/services/battleService.ts +++ b/game-server/app/services/battleService.ts @@ -588,7 +588,7 @@ export function getRandRobot(cnt = 1, withAttr = false) { let dicHero = gameData.hero.get(hero.actorId); heroes.push({ id: hero.actorId, - star: hero.star, + star: hero.star||dicHero.initialStars, colorStar: 0, lv: hero.lv, quality: dicHero.quality