pvp:刷新

This commit is contained in:
luying
2022-08-22 20:44:24 +08:00
parent 8c01ccbe43
commit 31671d7b91
5 changed files with 44 additions and 6 deletions

View File

@@ -337,6 +337,7 @@ export class LadderOppDetailHeroReturn {
star: number = 0; // 星级
colorStar: number = 0; // 彩星
quality: number = 0; // 品质
job: number = 0; // 职业
skill: string = ''; // 技能
seid: string = ''; // 技能
spine: string = ''; // 动画
@@ -353,6 +354,8 @@ export class LadderOppDetailHeroReturn {
this.skill = warJson.skill;
this.seid = warJson.seid;
this.spine = warJson.spine;
let dicHero = gameData.hero.get(warJson.actorId);
if(dicHero) this.job = dicHero.jobid;
if(defensHero) {
this.outIndex = defensHero.order;
@@ -367,6 +370,7 @@ export class LadderOppDetailHeroReturn {
this.colorStar = hero.colorStar;
let skin = hero.skins.find(cur => cur.enable);
if(skin) this.talent = skin.talent;
this.job = hero.job;
}
}
}