aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2020-02-01 15:40:34 +0200
committerGitHub <noreply@github.com>2020-02-01 14:40:34 +0100
commit74d19691a56355c5932913ee7e5553d5125b1126 (patch)
tree690efd42ff11ed446742f2809e72c9e3306c7da9 /src
parentc86d4404c8ae1961e15f36b294d505f067a272e9 (diff)
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 <giacomopoz@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/zone_the_barrens.cpp37
1 files changed, 0 insertions, 37 deletions
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
@@ -41,42 +41,6 @@ EndContentData */
#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();