aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authortkrokli <tkrokli@users.noreply.github.com>2016-09-24 19:20:12 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2017-03-03 22:31:29 +0100
commite13fadf8e9a6d17bae06fe41096cd19fea16ba0f (patch)
treeecee8f2e6a7e071168df0ff0aa17f31995ebdd0c /sql
parent9d09307e344fbfe7e0b7ac9b65de45229d11b483 (diff)
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 (cherry picked from commit cd6fcce84b0aefb2f5d0494cbfdbb5bf25061f2f)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2017_03_03_08_world_2016_09_24_08_world.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_03_03_08_world_2016_09_24_08_world.sql b/sql/updates/world/master/2017_03_03_08_world_2016_09_24_08_world.sql
new file mode 100644
index 00000000000..cb1a823ba43
--- /dev/null
+++ b/sql/updates/world/master/2017_03_03_08_world_2016_09_24_08_world.sql
@@ -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');