aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2020-12-27 03:02:56 +0200
committeroffl <offl@users.noreply.github.com>2020-12-27 03:02:56 +0200
commit290f2c2fbf7b77ba7ff94702aeedd54b37acac1b (patch)
tree0d9d51a48a6be8c0ab6df956b5623c3bab1344d7
parent15b37ba15aacafd4335e5b0726044acbf4cdf1f4 (diff)
DB/Creature: Replace unit flags stun & immune with auras
-rw-r--r--sql/updates/world/3.3.5/2020_12_27_01_world.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_12_27_01_world.sql b/sql/updates/world/3.3.5/2020_12_27_01_world.sql
new file mode 100644
index 00000000000..fe413f46b90
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_12_27_01_world.sql
@@ -0,0 +1,11 @@
+--
+DELETE FROM `creature_addon` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (29763,29764,29765,29766,29777,29780,29781,29782,29783,29784,29785,31709,31710,31711,31714,31719,31728,31729,31730,31732,31733,31735,31740,31741,31742,31795,31796));
+UPDATE `creature_template_addon` SET `auras` = '28782' WHERE `entry` IN (29763,29764,29765,29766,29777,29780,29781,29782,29783,29784,29785,31709,31710,31711,31714,31719,31728,31729,31730,31732,31733,31735,31740,31741,31742,31795,31796);
+UPDATE `creature_template` SET `unit_flags` = 33555200 WHERE `entry` IN (29763,29764,29765,29766,29777,29780,29781,29782,29783,29784,29785,31709,31710,31711,31714,31719,31728,31729,31730,31732,31733,31735,31740,31741,31742,31795,31796);
+
+UPDATE `creature_template` SET `unit_flags` = 33555200 WHERE `entry` IN (39263);
+UPDATE `creature_template` SET `unit_flags` = 768 WHERE `entry` IN (33608,33609,33610,33611,33612,33613,33614,33615,33616,33617,33618,33619,33621,33623);
+
+DELETE FROM `creature_addon` WHERE `guid` IN (SELECT `guid` FROM `creature` WHERE `id` IN (29807));
+UPDATE `creature_template_addon` SET `auras` = '28782' WHERE `entry` IN (29807);
+UPDATE `creature_template` SET `unit_flags` = 33554432 WHERE `entry` IN (29807);