1
0
Fork 0

Hide old ishgard restoration instances from gathering point stats

master
Liza 2024-08-19 04:57:41 +02:00
parent 92b6ce315f
commit 2df220ba94
Signed by: liza
GPG Key ID: 7199F8D727D55F67
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,7 @@ internal sealed class GatheringJournalComponent
_gatheringPointsByExpansion = dataManager.GetExcelSheet<GatheringPoint>()!
.Where(x => x.GatheringPointBase.Row != 0)
.Where(x => x.GatheringPointBase.Row is < 653 or > 680) // exclude ishgard restoration phase 1
.DistinctBy(x => x.GatheringPointBase.Row)
.Select(x => new
{
@ -170,6 +171,7 @@ internal sealed class GatheringJournalComponent
})
.Where(x => x.Expansion != (EExpansionVersion)byte.MaxValue)
.Where(x => x.GatheringItemIds.Count > 0)
.Where(x => x.TerritoryType is not 901 and not 929) // exclude old diadem
.GroupBy(x => x.Expansion)
.Select(x => new ExpansionPoints(x.Key, x
.GroupBy(y => new