From 806dd940cec8352cc3a619b9cab39c95d7b86e59 Mon Sep 17 00:00:00 2001 From: Sorikoff Date: Sat, 2 Feb 2019 15:06:11 +0100 Subject: DB/Quest: Sniff Out the Enemy Closes #23006 --- .../scripts/Northrend/zone_howling_fjord.cpp | 51 ---------------------- 1 file changed, 51 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/zone_howling_fjord.cpp b/src/server/scripts/Northrend/zone_howling_fjord.cpp index 7bff76a23cc..36da10f76d2 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 ######*/ @@ -662,7 +612,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(); -- cgit v1.2.3