diff options
| author | Sorikoff <Sorikoff@users.noreply.github.com> | 2019-02-02 15:06:11 +0100 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2019-02-02 15:06:11 +0100 |
| commit | 806dd940cec8352cc3a619b9cab39c95d7b86e59 (patch) | |
| tree | 1018a24d3a6ae9435fffe07ac0267ee1ba9b3323 /src | |
| parent | b1604ba0cd6db77cf168f957e828984811735bc1 (diff) | |
DB/Quest: Sniff Out the Enemy
Closes #23006
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 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 */ @@ -259,55 +258,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(); |
