羁绊:修改武将羁绊格式
This commit is contained in:
@@ -192,7 +192,6 @@ export class HeroDetailParam {
|
||||
}
|
||||
talent: Talent[] = [];
|
||||
connections: Connect[] = [];
|
||||
favourLv: number = 0;
|
||||
role: {
|
||||
title: number;
|
||||
scroll: number;
|
||||
@@ -219,7 +218,6 @@ export class HeroDetailParam {
|
||||
}
|
||||
}
|
||||
this.connections = hero.connections;
|
||||
this.favourLv = hero.favourLv;
|
||||
}
|
||||
|
||||
setAttributes(attributes: {hp: number, atk: number, def: number, mdef: number}) {
|
||||
|
||||
@@ -56,8 +56,6 @@ export class HeroParam {
|
||||
jobStage: number; // 职阶
|
||||
skinId: number; // 当前皮肤id,fashions表的heroId字段
|
||||
|
||||
favour: number; // 好感度
|
||||
favourLv: number; // 好感等级
|
||||
connections: Connect[]; // 羁绊
|
||||
skins: HeroSKinParam[] = []; // 皮肤
|
||||
ePlace: EPlace[]; // 武将装备引用数组
|
||||
@@ -86,8 +84,6 @@ export class HeroParam {
|
||||
this.totalTalentPoint = gameData.talentPointOfJob.get(hero.job)||0;
|
||||
this.jobStage = hero.jobStage;
|
||||
this.skinId = hero.skinId;
|
||||
this.favour = hero.favour;
|
||||
this.favourLv = hero.favourLv;
|
||||
this.connections = hero.connections;
|
||||
for(let skin of hero.skins) {
|
||||
this.skins.push(new HeroSKinParam(skin));
|
||||
|
||||
Reference in New Issue
Block a user