羁绊:修改武将羁绊格式

This commit is contained in:
luying
2022-07-08 18:29:53 +08:00
parent 4e12c6e389
commit 868bb07977
16 changed files with 119 additions and 226 deletions
-2
View File
@@ -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}) {
-4
View File
@@ -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));