feat(副将): 设置副将

This commit is contained in:
luying
2022-12-08 15:35:34 +08:00
parent bdbac4b085
commit b684307818
12 changed files with 92 additions and 8 deletions

View File

@@ -200,6 +200,7 @@ export class HeroDetailParam {
teraph: number;
school: number;
};
subHid: number = 0;
constructor(hero: HeroType) {
this.roleId = hero.roleId;
@@ -220,6 +221,7 @@ export class HeroDetailParam {
}
}
this.connections = hero.connections;
this.subHid = hero.subHid;
}
setAttributes(attributes: {hp: number, atk: number, def: number, mdef: number}) {