优化:抽象推送方法

This commit is contained in:
luying
2022-04-08 20:38:54 +08:00
parent a64faac7cd
commit f486a8d8a5
38 changed files with 475 additions and 1257 deletions

View File

@@ -21,8 +21,9 @@ export class MemComBtlTeam extends ComBattleTeam {
bossCurHp: number;
curRnd: number;
bossHp: number;
sid: string;
constructor(teamCode: string, pub: boolean, blueprtId: number, capId: string, ceLimit: number) {
constructor(teamCode: string, pub: boolean, blueprtId: number, capId: string, ceLimit: number, sid: string) {
super();
const { lv } = getDicBlueprtById(blueprtId);
this.lv = lv;
@@ -40,5 +41,6 @@ export class MemComBtlTeam extends ComBattleTeam {
this.bossCurHp = bossHpSum;
this.bossHp = bossHpSum;
this.blacklist = [];
this.sid = sid;
}
};