diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-12-29 12:59:38 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-12-29 12:59:38 +0100 |
commit | 5e541de5747b26270da90d0d3c60de96a518a5b9 (patch) | |
tree | 68e5ef094cd7c3230b9293ba38659d45a6277e90 /src/server/scripts/Northrend | |
parent | 44130cf9c49a982d8ac4371c81d778dee21b1f2e (diff) |
Scripts: Remove direct unit flag manipulations for UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IMMUNE_TO_NPC and UNIT_FLAG_UNINTERACTIBLE
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r-- | src/server/scripts/Northrend/zone_storm_peaks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp index f8f8238e1ab..5009c758586 100644 --- a/src/server/scripts/Northrend/zone_storm_peaks.cpp +++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp @@ -783,7 +783,7 @@ struct npc_king_jokkum_vehicle : public VehicleAI playerGUID = who->GetGUID(); Talk(SAY_HOLD_ON, who); me->CastSpell(who, SPELL_JOKKUM_KILL_CREDIT, true); - me->SetUnitFlag(UNIT_FLAG_IMMUNE_TO_NPC); + me->SetImmuneToNPC(true); me->GetMotionMaster()->MovePath(PATH_JOKKUM, false); } } |