Core/Scripts: move #define to enum/boss emote to DB (#17967)

boss_lurker_below.cpp : remove deprecated #define entries
- remove hardcoded text, use creature_text/broadcast_text
- move #define value & text reference to enum section
- replace TextEmote() with Talk() pointing to DB entry
This commit is contained in:
tkrokli
2016-09-24 19:20:12 +02:00
committed by GitHub
parent c4865fe63e
commit cd6fcce84b
2 changed files with 11 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
-- NPC 21217 The Lurker Below, emote (41) text
DELETE FROM `creature_text` WHERE `entry` = 21217;
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(21217, 0,0, '%s takes a deep breath.', 41, 0, 100, 0, 0, 0, 20021, 1, 'The Lurker Below - EMOTE_SPOUT');