✨ feat(副将): 设置副将
This commit is contained in:
@@ -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}) {
|
||||
|
||||
Reference in New Issue
Block a user