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); }