aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-08-05 20:40:35 +0300
committeroffl <offl@users.noreply.github.com>2020-08-05 20:40:35 +0300
commit1076d5f6f48cabcf7b028701dc51e80aaf41641d (patch)
treeab4caec39729749379142317454c773b4a17f68c
parent039836e33c7eacd91ece129a3b08019056a63ea6 (diff)
DB/Texts: Add BroadcastTextId to Glutton's texts
-rw-r--r--sql/updates/world/3.3.5/2020_08_05_04_world_335.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_08_05_04_world_335.sql b/sql/updates/world/3.3.5/2020_08_05_04_world_335.sql
new file mode 100644
index 00000000000..229eb0a7a0a
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_08_05_04_world_335.sql
@@ -0,0 +1,5 @@
+-- Add BroadcastTextId to Glutton's texts, confirmed by https://www.youtube.com/watch?v=rCZU9MRtQ8s
+UPDATE `creature_text` SET `BroadcastTextId` = 4515 WHERE `CreatureID` = 8567 AND `GroupID` = 2 AND `ID` = 0;
+UPDATE `creature_text` SET `BroadcastTextId` = 4516 WHERE `CreatureID` = 8567 AND `GroupID` = 3 AND `ID` = 0;
+-- Mismatches
+UPDATE `creature_text` a LEFT JOIN `broadcast_text` b ON a.`BroadcastTextId` = b.`ID` SET a.`Text` = b.`Text` WHERE b.`Text1` = '' AND a.`Text` != b.`Text`;