From 4881edcecf7ecd8adb8e3df202207d53b28a61cf Mon Sep 17 00:00:00 2001 From: luying Date: Mon, 1 Aug 2022 16:16:36 +0800 Subject: [PATCH] =?UTF-8?q?debug=E6=8E=A5=E5=8F=A3=EF=BC=9A=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=89=80=E6=9C=89=E6=AD=A6=E5=B0=86=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=81=8C=E4=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/role/handler/heroHandler.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game-server/app/servers/role/handler/heroHandler.ts b/game-server/app/servers/role/handler/heroHandler.ts index c35262aad..4e7632d62 100644 --- a/game-server/app/servers/role/handler/heroHandler.ts +++ b/game-server/app/servers/role/handler/heroHandler.ts @@ -741,8 +741,9 @@ export class HeroHandler { for(let { actorId } of gameData.recruit) { let dicHero = gameData.hero.get(actorId); if(!dicHero) continue; + let { jobid, grade } = gameData.jobClassMaxGrades.get(dicHero.jobClass); heroInfos.push({ - hid: actorId, star: 6, colorStar: 6, quality: 4, lv: 100, exp: getExpByLv(100).sum + hid: actorId, star: 6, colorStar: 6, quality: 4, lv: 100, exp: getExpByLv(100).sum, job: jobid, grade }); } let resultHeroes = await createHeroes(roleId, roleName, sid, serverId, heroInfos);