aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-10-20 16:53:53 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-18 23:03:00 +0100
commitcb13d0b18507fce9363d8288620375afa78467ec (patch)
tree184fb193204515e93c43165ca694f03d4171d420
parent58fe0f9e4acb4cdc83ea70e368d648abe457d54e (diff)
DB/Creature: Obsidian Eradicator & Obsidian Nullifier
Closes #23869 (cherry picked from commit fe479ec8fdd3b76e93efc9c00c2a13cbf8458734)
-rw-r--r--sql/updates/world/master/2021_12_18_46_world_2019_10_20_00_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_18_46_world_2019_10_20_00_world.sql b/sql/updates/world/master/2021_12_18_46_world_2019_10_20_00_world.sql
new file mode 100644
index 00000000000..c41161d61ab
--- /dev/null
+++ b/sql/updates/world/master/2021_12_18_46_world_2019_10_20_00_world.sql
@@ -0,0 +1,6 @@
+--
+UPDATE `creature_template` SET `unit_flags2`=0 WHERE `entry` IN (15262, 15312);
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN (15262,15312) AND `source_type`=0 AND `id`=0 AND `link`=0;
+INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
+(15262, 0, 0, 0, 25, 0, 100, 2, 0, 0, 0, 0, 0, 108, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Obsidian Eradicator - On reset - Set Mana To 0'),
+(15312, 0, 0, 0, 25, 0, 100, 2, 0, 0, 0, 0, 0, 108, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Obsidian Nullifier - On reset - Set Mana To 0');