diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Outland/zone_nagrand.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/server/scripts/Outland/zone_nagrand.cpp b/src/server/scripts/Outland/zone_nagrand.cpp index 23f75db8867..159cfaede33 100644 --- a/src/server/scripts/Outland/zone_nagrand.cpp +++ b/src/server/scripts/Outland/zone_nagrand.cpp @@ -24,7 +24,6 @@ EndScriptData */ /* ContentData npc_maghar_captive -npc_creditmarker_visit_with_ancestors EndContentData */ #include "ScriptMgr.h" @@ -218,48 +217,6 @@ public: }; /*###### -## npc_creditmarker_visist_with_ancestors -######*/ - -class npc_creditmarker_visit_with_ancestors : public CreatureScript -{ -public: - npc_creditmarker_visit_with_ancestors() : CreatureScript("npc_creditmarker_visit_with_ancestors") { } - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_creditmarker_visit_with_ancestorsAI(creature); - } - - struct npc_creditmarker_visit_with_ancestorsAI : public ScriptedAI - { - npc_creditmarker_visit_with_ancestorsAI(Creature* creature) : ScriptedAI(creature) { } - - void Reset() override { } - - void JustEngagedWith(Unit* /*who*/) override { } - - void MoveInLineOfSight(Unit* who) override - { - if (!who) - return; - - Player* player = who->ToPlayer(); - if (player && player->GetQuestStatus(10085) == QUEST_STATUS_INCOMPLETE) - { - uint32 creditMarkerId = me->GetEntry(); - if (creditMarkerId >= 18840 && creditMarkerId <= 18843) - { - // 18840: Sunspring, 18841: Laughing, 18842: Garadar, 18843: Bleeding - if (!player->GetReqKillOrCastCurrentCount(10085, creditMarkerId)) - player->KilledMonsterCredit(creditMarkerId, me->GetGUID()); - } - } - } - }; -}; - -/*###### ## go_corkis_prison and npc_corki ######*/ @@ -923,7 +880,6 @@ public: void AddSC_nagrand() { new npc_maghar_captive(); - new npc_creditmarker_visit_with_ancestors(); new npc_corki(); new go_corkis_prison(); new npc_kurenai_captive(); |