From e2df64fb049523a63e901a3ac0f107210ede24ef Mon Sep 17 00:00:00 2001 From: luying Date: Wed, 18 May 2022 17:03:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E8=B5=8B=EF=BC=9A=E5=A4=A9=E8=B5=8B?= =?UTF-8?q?=E8=A7=A3=E9=94=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/role/handler/heroHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/role/handler/heroHandler.ts b/game-server/app/servers/role/handler/heroHandler.ts index 3ebcf0aa7..39e758cb7 100644 --- a/game-server/app/servers/role/handler/heroHandler.ts +++ b/game-server/app/servers/role/handler/heroHandler.ts @@ -680,7 +680,7 @@ export class HeroHandler { if(talent) return resResult(STATUS.TALENT_HAS_UNLOCKED); let usedTalentPoint = curSkin.usedTalentPoint; - if(!checkUnlockTalentCondition(hid, id, curSkin.talent, usedTalentPoint)) { + if(!checkUnlockTalentCondition(curSkin.skinId, id, curSkin.talent, usedTalentPoint)) { return resResult(STATUS.TALENT_CONDITION_NOT_FIT); }