diff options
author | offl <offl@users.noreply.github.com> | 2021-08-23 00:08:36 +0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-03-13 21:16:26 +0100 |
commit | 4164d5515847731ed3881ea6ce287bef61c69e0e (patch) | |
tree | 63a450c9c765e994ab7f691f6d1ce08dc13002d6 | |
parent | 0ce5a2e7a5c5981ff4ce8fc7dfd990b4177c1a83 (diff) |
DB/Creature: Get rid of more flags
Ref #25764
(cherry picked from commit 2f02c2fb86ccf1fb9ff094f60b0eb0b48de5eece)
-rw-r--r-- | sql/updates/world/master/2022_03_13_06_world_2021_08_22_01_world.sql | 16 | ||||
-rw-r--r-- | src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp | 3 |
2 files changed, 17 insertions, 2 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; diff --git a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp index 3f49f348070..385eb2bab04 100644 --- a/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp +++ b/src/server/scripts/Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp @@ -410,8 +410,7 @@ struct npc_molten_golem : public ScriptedAI damage = 0; me->RemoveAllAuras(); me->AttackStop(); - // me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED); // Set in DB - // me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); // Set in DB + me->SetReactState(REACT_PASSIVE); // should be replaced by spell 59123 if (me->IsNonMeleeSpellCast(false)) me->InterruptNonMeleeSpells(false); |