From 3790507b6c31cad944cd8be716cf71918983f29f Mon Sep 17 00:00:00 2001 From: Grimfeather <88028633+Grimfeather@users.noreply.github.com> Date: Sat, 10 May 2025 04:00:47 +0200 Subject: [PATCH] add IPP_PHASE areas in Darkshore --- src/IndividualProgressionPlayer.cpp | 35 +++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/IndividualProgressionPlayer.cpp b/src/IndividualProgressionPlayer.cpp index 77323f2..e1d79bc 100644 --- a/src/IndividualProgressionPlayer.cpp +++ b/src/IndividualProgressionPlayer.cpp @@ -337,7 +337,28 @@ public: player->RemoveAura(IPP_PHASE); player->CastSpell(player, IPP_PHASE, false); } - break; + 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; case AREA_SILITHUS: if ((sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_AQ)) && (sIndividualProgression->isBeforeProgression(player, PROGRESSION_AQ))) { @@ -367,12 +388,12 @@ public: } break; case AREA_LIGHTS_HOPE: - if (sIndividualProgression->hasPassedProgression(player, PROGRESSION_AQ)) - { - player->RemoveAura(IPP_PHASE); - player->CastSpell(player, IPP_PHASE, false); - } - break; + // if (sIndividualProgression->hasPassedProgression(player, PROGRESSION_AQ)) + // { + // player->RemoveAura(IPP_PHASE); + // player->CastSpell(player, IPP_PHASE, false); + // } + // break; case AREA_ARGENT_TOURNAMENT: case AREA_ARGENT_SUNREAVER_PAVILION: case AREA_ARGENT_SILVER_COVENANT_PAVILION: