add IPP_PHASE areas in Darkshore

This commit is contained in:
Grimfeather
2025-05-10 04:00:47 +02:00
committed by GitHub
parent f845b3db4a
commit 3790507b6c

View File

@@ -337,6 +337,27 @@ public:
player->RemoveAura(IPP_PHASE); player->RemoveAura(IPP_PHASE);
player->CastSpell(player, IPP_PHASE, false); player->CastSpell(player, IPP_PHASE, false);
} }
break;
case AREA_GROVE_OF_THE_ANCIENTS:
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ)))
{
player->RemoveAura(IPP_PHASE);
player->CastSpell(player, IPP_PHASE, false);
}
break;
case AREA_WILDBEND_RIVER:
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ)))
{
player->RemoveAura(IPP_PHASE);
player->CastSpell(player, IPP_PHASE, false);
}
break;
case AREA_TWILIGHT_VALE:
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ)))
{
player->RemoveAura(IPP_PHASE);
player->CastSpell(player, IPP_PHASE, false);
}
break; break;
case AREA_SILITHUS: case AREA_SILITHUS:
if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ))) if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ)))
@@ -367,12 +388,12 @@ public:
} }
break; break;
case AREA_LIGHTS_HOPE: case AREA_LIGHTS_HOPE:
if (sIndividualProgression->hasPassedProgression(player, PROGRESSION_AQ)) // if (sIndividualProgression->hasPassedProgression(player, PROGRESSION_AQ))
{ // {
player->RemoveAura(IPP_PHASE); // player->RemoveAura(IPP_PHASE);
player->CastSpell(player, IPP_PHASE, false); // player->CastSpell(player, IPP_PHASE, false);
} // }
break; // break;
case AREA_ARGENT_TOURNAMENT: case AREA_ARGENT_TOURNAMENT:
case AREA_ARGENT_SUNREAVER_PAVILION: case AREA_ARGENT_SUNREAVER_PAVILION:
case AREA_ARGENT_SILVER_COVENANT_PAVILION: case AREA_ARGENT_SILVER_COVENANT_PAVILION: