aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2020-02-01 15:40:34 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-21 00:11:39 +0100
commit3daeb284205ad86147694b320ff718f6f909013d (patch)
treeafeccf683711d985adb8b407ef73c2b522803279 /src
parente57967aa3f5b9553a41a0cee86fdd3be508807a8 (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> (cherry picked from commit 74d19691a56355c5932913ee7e5553d5125b1126)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Kalimdor/zone_the_barrens.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/server/scripts/Kalimdor/zone_the_barrens.cpp b/src/server/scripts/Kalimdor/zone_the_barrens.cpp
index 14948ca16bb..bfb838b5ab3 100644
--- a/src/server/scripts/Kalimdor/zone_the_barrens.cpp
+++ b/src/server/scripts/Kalimdor/zone_the_barrens.cpp
@@ -36,42 +36,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
######*/