皮肤:周边相关功能影响

This commit is contained in:
luying
2021-10-19 14:26:21 +08:00
parent da5a43abba
commit 864f856c1c
16 changed files with 254 additions and 199 deletions
+3
View File
@@ -9,6 +9,8 @@ export class HeroesRecord {
@prop({ required: true, default: 0 })
hid: number; // 武将id
@prop({ required: true, default: 0 })
skinId: number; // 皮肤idfashions表的heroId
@prop({ required: true, default: 0 })
quality: number; // 品质
@prop({ required: true, default: 0 })
star: number; // 星级
@@ -25,6 +27,7 @@ export class HeroesRecord {
constructor(pvpHero: PvpHeroInfo, damage: number, heal: number, underDamage: number) {
this.hid = pvpHero.actorId;
this.skinId = pvpHero.skinId;
this.quality = pvpHero.quality;
this.star = pvpHero.star;
this.colorStar = pvpHero.colorStar;