aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2013_01_25_00_world_creature_text.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2013_01_25_00_world_creature_text.sql b/sql/updates/world/2013_01_25_00_world_creature_text.sql
new file mode 100644
index 00000000000..25354a70390
--- /dev/null
+++ b/sql/updates/world/2013_01_25_00_world_creature_text.sql
@@ -0,0 +1,8 @@
+-- Update text's with creature_text.type old format values - some missing texts should be fixed.
+-- based on http://collab.kpsn.org/display/tc/Creature+text+tc2#Creaturetexttc2-type
+UPDATE `creature_text` SET `type`=12 WHERE `type`=0; -- Say
+UPDATE `creature_text` SET `type`=14 WHERE `type`=1; -- Yell
+UPDATE `creature_text` SET `type`=16 WHERE `type`=2; -- Emote
+UPDATE `creature_text` SET `type`=41 WHERE `type`=3; -- Boss Emote
+UPDATE `creature_text` SET `type`=15 WHERE `type`=4; -- Whisper
+UPDATE `creature_text` SET `type`=42 WHERE `type`=5; -- Boss Whisper