pvp:刷新
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user