🐞 fix(gvg): 激战期城池排行榜添加积分增速
This commit is contained in:
@@ -154,6 +154,20 @@ class GVGBattleData {
|
||||
return teams;
|
||||
}
|
||||
|
||||
public findSettledPointMapByLeague() {
|
||||
let pointByLeague = new Map<string, number[]>();
|
||||
for(let [_roleId, pointIds] of this.rolePoints) {
|
||||
for(let [pointId, teamCode] of pointIds) {
|
||||
let team = this.teams.get(teamCode);
|
||||
if(pointId > 0 && team && team.leagueCode) {
|
||||
if(!pointByLeague.has(team.leagueCode)) pointByLeague.set(team.leagueCode, []);
|
||||
pointByLeague.get(team.leagueCode).push(team.pointId);
|
||||
};
|
||||
}
|
||||
}
|
||||
return pointByLeague;
|
||||
}
|
||||
|
||||
public findAreas() {
|
||||
return this.areaToTeams.keys();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user