From 205aba1ff3a6f1ff92a8b26af646fd25f139c697 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 9 May 2023 05:20:35 +0200 Subject: Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags (#28508) * UNIT_NPC_FLAG_AREA_SPIRIT_HEALER * UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL --- src/server/scripts/Northrend/zone_wintergrasp.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/server/scripts/Northrend') diff --git a/src/server/scripts/Northrend/zone_wintergrasp.cpp b/src/server/scripts/Northrend/zone_wintergrasp.cpp index e4a53d4c57f..011414865c7 100644 --- a/src/server/scripts/Northrend/zone_wintergrasp.cpp +++ b/src/server/scripts/Northrend/zone_wintergrasp.cpp @@ -61,9 +61,6 @@ enum Spells SPELL_RIDE_WG_VEHICLE = 60968, SPELL_VEHICLE_TELEPORT = 49759, - - // Spirit guide - SPELL_CHANNEL_SPIRIT_HEAL = 22011, }; enum CreatureIds @@ -192,12 +189,6 @@ struct npc_wg_spirit_guide : public ScriptedAI { npc_wg_spirit_guide(Creature* creature) : ScriptedAI(creature) { } - void UpdateAI(uint32 /*diff*/) override - { - if (!me->HasUnitState(UNIT_STATE_CASTING)) - DoCast(me, SPELL_CHANNEL_SPIRIT_HEAL); - } - bool OnGossipHello(Player* player) override { if (me->IsQuestGiver()) -- cgit v1.2.3