diff --git a/data/sql/updates/pending_db_world/rev_1628449221739059900.sql b/data/sql/updates/pending_db_world/rev_1628449221739059900.sql new file mode 100644 index 000000000..285f74cae --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1628449221739059900.sql @@ -0,0 +1,9 @@ +INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1628449221739059900'); + +-- Wrath Hammer Construct +SET @ENTRY := 8907; +DELETE FROM `smart_scripts` WHERE `entryOrGuid` = @ENTRY AND `source_type` = 0; +UPDATE `creature_template` SET `AIName` = "SmartAI", `ScriptName` = "" WHERE `entry` = @ENTRY; +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`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 6000, 9000, 11, 15575, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Every 6 - 9 seconds (1 - 1s initially) - Self: Cast spell Flame Cannon (15575) on Victim"), +(@ENTRY, 0, 1, 0, 0, 0, 100, 0, 5000, 15000, 5000, 15000, 11, 10966, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Every 5 - 15 seconds - Self: Cast spell Uppercut (10966) on Victim");