DB/Texts: Ensure that correct types are used in creature_text (42 texts should be corrected)

Closes #9055
This commit is contained in:
nelegalno
2013-01-25 11:57:31 +00:00
committed by Nay
parent 670f80fa39
commit 9ad8ac73a9

View File

@@ -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