sort combat zones
This commit is contained in:
@@ -9,6 +9,7 @@ class CombatZoneFormat : LogFormatter {
|
||||
public string GenerateLog(Objective objective) {
|
||||
var logs = objective
|
||||
.EnabledOfType<CombatZone>()
|
||||
.OrderBy(x => CombatZones.DifficultyRank(x.Grade))
|
||||
.GroupBy(x => new { x.Type, x.Grade })
|
||||
.ToDictionary(x => x.Key, x => x.ToList())
|
||||
;
|
||||
@@ -47,6 +48,7 @@ class CombatZoneFormat : LogFormatter {
|
||||
public string GenerateSummary(Objective objective) {
|
||||
var logs = objective
|
||||
.EnabledOfType<CombatZone>()
|
||||
.OrderBy(x => CombatZones.DifficultyRank(x.Grade))
|
||||
.GroupBy(x => new { x.Type, x.Grade })
|
||||
.ToDictionary(x => x.Key, x => x.ToList())
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user