No longer accept the level 30 job quest if relevant aetherytes aren't unlocked
authorLiza Carvelli <liza@carvel.li>
Tue, 21 Jan 2025 20:45:01 +0000 (21:45 +0100)
committerLiza Carvelli <liza@carvel.li>
Tue, 21 Jan 2025 20:45:01 +0000 (21:45 +0100)
Questionable/Controller/QuestRegistry.cs

index d6641073ca97e50c995faa7cca98ab44155a5e68..7808b09509d40727e2802252997fcbcb0c7eda70 100644 (file)
@@ -234,7 +234,11 @@ internal sealed class QuestRegistry
 
     public List<QuestInfo> GetKnownClassJobQuests(EClassJob classJob)
     {
-        return _questData.GetClassJobQuests(classJob)
+        List<QuestInfo> allQuests = [.._questData.GetClassJobQuests(classJob)];
+        if (classJob.AsJob() != classJob)
+            allQuests.AddRange(_questData.GetClassJobQuests(classJob.AsJob()));
+
+        return allQuests
             .Where(x => IsKnownQuest(x.QuestId))
             .ToList();
     }