From 74d19691a56355c5932913ee7e5553d5125b1126 Mon Sep 17 00:00:00 2001 From: Sorikoff <46191832+Sorikoff@users.noreply.github.com> Date: Sat, 1 Feb 2020 15:40:34 +0200 Subject: Scripts/The Barrens: Beaten Corpse (#24124) * Scripts/The Barrens: Beaten Corpse * Rename 9999_99_99_99_world.sql to 2020_02_01_00_world.sql Co-authored-by: Giacomo Pozzoni --- src/server/scripts/Kalimdor/zone_the_barrens.cpp | 37 ------------------------ 1 file changed, 37 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Kalimdor/zone_the_barrens.cpp b/src/server/scripts/Kalimdor/zone_the_barrens.cpp index f473ca01622..efa1e4068ed 100644 --- a/src/server/scripts/Kalimdor/zone_the_barrens.cpp +++ b/src/server/scripts/Kalimdor/zone_the_barrens.cpp @@ -40,42 +40,6 @@ EndContentData */ #include "SpellInfo.h" #include "TemporarySummon.h" -/*###### -## npc_beaten_corpse -######*/ - -enum BeatenCorpse -{ - GOSSIP_OPTION_ID_BEATEN_CORPSE = 0, - GOSSIP_MENU_OPTION_INSPECT_BODY = 2871 -}; - -class npc_beaten_corpse : public CreatureScript -{ - public: - npc_beaten_corpse() : CreatureScript("npc_beaten_corpse") { } - - struct npc_beaten_corpseAI : public ScriptedAI - { - npc_beaten_corpseAI(Creature* creature) : ScriptedAI(creature) { } - - bool GossipSelect(Player* player, uint32 menuId, uint32 gossipListId) override - { - if (menuId == GOSSIP_MENU_OPTION_INSPECT_BODY && gossipListId == GOSSIP_OPTION_ID_BEATEN_CORPSE) - { - CloseGossipMenuFor(player); - player->TalkedToCreature(me->GetEntry(), me->GetGUID()); - } - return false; - } - }; - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_beaten_corpseAI(creature); - } -}; - /*###### # npc_gilthares ######*/ @@ -655,7 +619,6 @@ public: void AddSC_the_barrens() { - new npc_beaten_corpse(); new npc_gilthares(); new npc_taskmaster_fizzule(); new npc_twiggy_flathead(); -- cgit v1.2.3