diff options
author | Sorikoff <Sorikoff@users.noreply.github.com> | 2019-02-02 15:06:11 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-11-23 20:46:27 +0100 |
commit | 31f4bb14365ebe09c72a516eca7d5d48c6228ced (patch) | |
tree | d7ef20708c4ce9e7f8b5ee1fe2794ec999d8a26e /src | |
parent | 13aef5574b966c801a4f8ee53e3bff9142c3358f (diff) |
DB/Quest: Sniff Out the Enemy
Closes #23006
(cherry picked from commit 806dd940cec8352cc3a619b9cab39c95d7b86e59)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Northrend/zone_howling_fjord.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index 255d84f789e..fef7eb2eaf2 100644 --- a/src/server/scripts/Northrend/zone_howling_fjord.cpp +++ b/src/server/scripts/Northrend/zone_howling_fjord.cpp @@ -23,7 +23,6 @@ SDCategory: howling_fjord EndScriptData */ /* ContentData -npc_plaguehound_tracker npc_apothecary_hanes EndContentData */ @@ -258,55 +257,6 @@ public: }; /*###### -## npc_plaguehound_tracker -######*/ - -enum Plaguehound -{ - QUEST_SNIFF_OUT_ENEMY = 11253 -}; - -class npc_plaguehound_tracker : public CreatureScript -{ -public: - npc_plaguehound_tracker() : CreatureScript("npc_plaguehound_tracker") { } - - struct npc_plaguehound_trackerAI : public EscortAI - { - npc_plaguehound_trackerAI(Creature* creature) : EscortAI(creature) { } - - void Reset() override - { - ObjectGuid summonerGUID; - - if (me->IsSummon()) - if (Unit* summoner = me->ToTempSummon()->GetSummoner()) - if (summoner->GetTypeId() == TYPEID_PLAYER) - summonerGUID = summoner->GetGUID(); - - if (!summonerGUID) - return; - - me->SetWalk(true); - Start(false, false, summonerGUID); - } - - void WaypointReached(uint32 waypointId, uint32 /*pathId*/) override - { - if (waypointId != 26) - return; - - me->DespawnOrUnsummon(); - } - }; - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_plaguehound_trackerAI(creature); - } -}; - -/*###### ## npc_razael_and_lyana ######*/ @@ -661,7 +611,6 @@ public: void AddSC_howling_fjord() { new npc_apothecary_hanes(); - new npc_plaguehound_tracker(); new npc_razael_and_lyana(); new npc_daegarn(); new npc_mindless_abomination(); |