aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-08-23 00:08:36 +0300
committerShauren <shauren.trinity@gmail.com>2022-03-13 21:16:26 +0100
commit4164d5515847731ed3881ea6ce287bef61c69e0e (patch)
tree63a450c9c765e994ab7f691f6d1ce08dc13002d6 /sql
parent0ce5a2e7a5c5981ff4ce8fc7dfd990b4177c1a83 (diff)
DB/Creature: Get rid of more flags
Ref #25764 (cherry picked from commit 2f02c2fb86ccf1fb9ff094f60b0eb0b48de5eece)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_03_13_06_world_2021_08_22_01_world.sql16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_03_13_06_world_2021_08_22_01_world.sql b/sql/updates/world/master/2022_03_13_06_world_2021_08_22_01_world.sql
new file mode 100644
index 00000000000..8452b523ef2
--- /dev/null
+++ b/sql/updates/world/master/2022_03_13_06_world_2021_08_22_01_world.sql
@@ -0,0 +1,16 @@
+-- Dead Iron Giant
+UPDATE `creature_template` SET `unit_flags` = `unit_flags` &~ (536870912|262144), `dynamicflags` = 0 WHERE `entry` = 29914;
+UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE `entry` = 29914;
+
+-- Dead Iron Giant
+UPDATE `creature_template` SET `unit_flags` = `unit_flags` &~ (536870912|262144) WHERE `entry` = 30163;
+UPDATE `creature_template_addon` SET `bytes2` = 1, `auras` = '56779 29266' WHERE `entry` = 30163;
+
+-- Elementalist Avuun, whatever it was, it will be not stored in DB
+UPDATE `creature_template` SET `unit_flags` = `unit_flags` &~ 262144 WHERE `entry` = 32900;
+
+-- Scarlet Commander, whatever it was, it will be not stored in DB
+UPDATE `creature_template` SET `unit_flags` = `unit_flags` &~ 262144 WHERE `entry` = 28936;
+
+-- Brittle Golem
+UPDATE `creature_template` SET /*`minlevel` = 80, `maxlevel` = 80, `exp` = 2,*/ `unit_flags` = 32768 WHERE `entry` = 28681;