天赋:天赋解锁

This commit is contained in:
luying
2022-05-18 17:03:02 +08:00
parent 51bf953e10
commit e2df64fb04

View File

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