From f50c32079c355249571ea2cefe7477bfeb5c3b65 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 2 Apr 2022 16:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E8=B5=8B=EF=BC=9A=E7=BC=BA=E7=9C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/domain/roleField/hero.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/domain/roleField/hero.ts b/shared/domain/roleField/hero.ts index 7ca654a48..ee2b30cd5 100644 --- a/shared/domain/roleField/hero.ts +++ b/shared/domain/roleField/hero.ts @@ -93,8 +93,8 @@ export class HeroParam { for(let skin of hero.skins) { this.skins.push(new HeroSKinParam(skin)); if(skin.enable) { - this.talent = skin.talent; - this.usedTalentPoint = skin.usedTalentPoint; + this.talent = skin.talent||[]; + this.usedTalentPoint = skin.usedTalentPoint||0; } } this.ePlace = hero.ePlace;