Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Shared/PlasmaShared/IContentService/ResourceData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class ResourceData: ApiResponse
public bool? MapIs1v1;
public bool? MapIsTeams;
public bool? MapIsFfa;
public bool? MapIsChickens;
public bool? MapIsSpecial;
public bool? MapIsSupported;
public float? FeaturedOrder;
Expand Down
2 changes: 1 addition & 1 deletion Zero-K.info/AppCode/LadderCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ public class AwardModel
}

}
}
}
1 change: 1 addition & 0 deletions Zero-K.info/AppCode/PlasmaServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public static ResourceData ToResourceData(Resource r)
MapIs1v1 = r.MapIs1v1,
MapIsTeams = r.MapIsTeams,
MapIsFfa = r.MapIsFfa,
MapIsChickens = r.MapIsChickens,
MapIsSpecial = r.MapIsSpecial,
MapSupportLevel = r.MapSupportLevel
};
Expand Down
1 change: 1 addition & 0 deletions ZkData/Ef/WHR/RatingSystems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public static void FillApplicableRatings(SpringBattle battle, SpringBattleContex
if (battle.IsMission) return;
if (battle.SpringBattlePlayers?.Where(x => !x.IsSpectator).Select(x => x.AllyNumber).Distinct().Count() < 2) return;
if (battle.ResourceByMapResourceID?.MapIsSpecial == true) return;
if (battle.ResourceByMapResourceID?.MapIsChickens == true) return;

//only count balanced custom matches for elo
if (battle.Mode == AutohostMode.None && battle.SpringBattlePlayers?.Where(x => !x.IsSpectator).GroupBy(x => x.AllyNumber).Select(x => x.Count()).Distinct().Count() > 1) return;
Expand Down