初步加入寻宝匹配,逻辑还不全
This commit is contained in:
@@ -40,6 +40,20 @@ export class RoleStatus {
|
||||
// 主公等级
|
||||
@prop({ required: true, default: 1 })
|
||||
lv: number;
|
||||
|
||||
constructor(roleId: string, roleName: string, isCap: boolean, isFrd: boolean, headHid: number, sHid: number, topFiveCe: number, lv: number) {
|
||||
this.roleId = roleId;
|
||||
this.roleName = roleName;
|
||||
this.isCap = isCap;
|
||||
this.totalDmg = 0;
|
||||
this.isFrd = isFrd;
|
||||
this.headHid = headHid;
|
||||
this.sHid = sHid;
|
||||
this.topFiveCe = topFiveCe;
|
||||
this.lv = lv;
|
||||
this.heroes = [];
|
||||
this.killed = [];
|
||||
}
|
||||
}
|
||||
|
||||
@index({ teamCode: 1 })
|
||||
|
||||
Reference in New Issue
Block a user