From fdd42c7d371f6826d5c67c4b0db3e8d393fc3ee7 Mon Sep 17 00:00:00 2001 From: Daniel Finke Date: Thu, 5 Dec 2024 12:30:24 -0800 Subject: Scripts/AzuremystIsle: Set correct PvP flags for Draenei Survivor (#30067) --- src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3