mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
add IPP_PHASE areas in Darkshore
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user