✨ feat(gvg): 激战期获取挑战对手阵容
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user