aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
index 3913560d859..78448c14103 100644
--- a/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
+++ b/src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
@@ -91,7 +91,7 @@ public:
DoCast(me, SPELL_IRRIDATION, true);
- me->SetUnitFlag(UNIT_FLAG_PLAYER_CONTROLLED);
+ me->SetPvP(true);
me->SetUnitFlag(UNIT_FLAG_IN_COMBAT);
me->SetHealth(me->CountPctFromMaxHealth(10));
me->SetStandState(UNIT_STAND_STATE_SLEEP);
@@ -115,7 +115,7 @@ public:
{
if (spellInfo->SpellFamilyFlags[2] & 0x080000000)
{
- me->RemoveUnitFlag(UNIT_FLAG_PLAYER_CONTROLLED);
+ me->SetPvP(false);
me->SetStandState(UNIT_STAND_STATE_STAND);
DoCast(me, SPELL_STUNNED, true);