ag gate visibility

This commit is contained in:
valsan-azerty-boi
2025-05-06 13:26:41 +02:00
parent e1f33033fc
commit d1291ca1f6

View File

@@ -226,16 +226,13 @@ public:
return false; return false;
} }
if (sIndividualProgression->requirePreAQQuests) if (!sIndividualProgression->requirePreAQQuests)
{
// Gate visible and closed if player has not passed the gong quest if it's required (IndividualProgression.RequirePreAQQuests = 1)
return sIndividualProgression->isBeforeProgression(target, PROGRESSION_AQ);
}
else
{ {
// Gate visible and closed if player has not yet benefited from the skip before defeating Nefarian if gong quest not required (IndividualProgression.RequirePreAQQuests = 0) // Gate visible and closed if player has not yet benefited from the skip before defeating Nefarian if gong quest not required (IndividualProgression.RequirePreAQQuests = 0)
return sIndividualProgression->isBeforeProgression(target, PROGRESSION_PRE_AQ); return sIndividualProgression->isBeforeProgression(target, PROGRESSION_PRE_AQ);
} }
return sIndividualProgression->isBeforeProgression(target, PROGRESSION_AQ);
} }
}; };