🐞 fix(gvg): 激战期队伍下发格式修改
This commit is contained in:
@@ -655,6 +655,7 @@ export class GVGTeamSpineInMap {
|
||||
moveCdTime: number = 0;
|
||||
isMoving: boolean = false;
|
||||
pointId: number = 0;
|
||||
areaId: number = 0;
|
||||
fromAreaId: number = 0;
|
||||
teamCode: string = '';
|
||||
leagueCode: string = '';
|
||||
@@ -669,6 +670,7 @@ export class GVGTeamSpineInMap {
|
||||
this.stopMoveTime = obj.stopMoveTime;
|
||||
this.moveCdTime = obj.moveCdTime;
|
||||
this.isMoving = nowSeconds() < this.stopMoveTime;
|
||||
this.areaId = obj.areaId;
|
||||
this.pointId = obj.pointId;
|
||||
this.fromAreaId = obj.fromAreaId;
|
||||
this.teamCode = obj.teamCode;
|
||||
@@ -791,7 +793,7 @@ export class MyTeamInfo {
|
||||
this.teamCode = team.teamCode;
|
||||
this.index = team.index;
|
||||
this.head = team.head;
|
||||
this.frame = team.spine;
|
||||
this.frame = team.frame;
|
||||
if(team.lineup) this.lineup = team.lineup.map(({ actorId, dataId, outIndex }) => ({ actorId, dataId, order: outIndex }));
|
||||
this.durability = team.durability;
|
||||
this.maxDurability = team.maxDurability;
|
||||
|
||||
Reference in New Issue
Block a user