From 2df220ba94aea15f6da17d6f0fabe8bd109bc9a6 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Mon, 19 Aug 2024 04:57:41 +0200 Subject: [PATCH] Hide old ishgard restoration instances from gathering point stats --- .../Windows/JournalComponents/GatheringJournalComponent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Questionable/Windows/JournalComponents/GatheringJournalComponent.cs b/Questionable/Windows/JournalComponents/GatheringJournalComponent.cs index 7a24ad0b..81588465 100644 --- a/Questionable/Windows/JournalComponents/GatheringJournalComponent.cs +++ b/Questionable/Windows/JournalComponents/GatheringJournalComponent.cs @@ -121,6 +121,7 @@ internal sealed class GatheringJournalComponent _gatheringPointsByExpansion = dataManager.GetExcelSheet()! .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