天赋:缺省

This commit is contained in:
luying
2022-04-02 16:31:14 +08:00
parent 0bb5fad55b
commit f50c32079c
+2 -2
View File
@@ -93,8 +93,8 @@ export class HeroParam {
for(let skin of hero.skins) { for(let skin of hero.skins) {
this.skins.push(new HeroSKinParam(skin)); this.skins.push(new HeroSKinParam(skin));
if(skin.enable) { if(skin.enable) {
this.talent = skin.talent; this.talent = skin.talent||[];
this.usedTalentPoint = skin.usedTalentPoint; this.usedTalentPoint = skin.usedTalentPoint||0;
} }
} }
this.ePlace = hero.ePlace; this.ePlace = hero.ePlace;