feat(gvg): 激战期获取挑战对手阵容

This commit is contained in:
luying
2023-02-15 11:38:17 +08:00
parent aa099dddaf
commit 6815bf316a
13 changed files with 1023 additions and 46 deletions

View File

@@ -45,7 +45,7 @@ export class GVGTeamMem extends GVGTeam {
this.defenseTime = team.defenseTime;
this.startMoveTime = team.startMoveTime;
this.stopMoveTime = team.stopMoveTime;
this.playerScore = team.playerScore;
this.score = team.score;
}
public setCity(cityId: number, areaId = 0, pointId = 0) {
@@ -60,4 +60,11 @@ export class GVGTeamMem extends GVGTeam {
this.startMoveTime = startMoveTime;
this.stopMoveTime = stopMoveTime;
}
public battleEnd(team: GVGTeamType) {
this.durability = team.durability;
this.restartTime = team.restartTime;
this.defenseTime = team.defenseTime;
this.stopMoveTime = team.stopMoveTime;
}
}