fix(DB/SAI): add missing spells for Wrath Hammer Construct (#7261)

This commit is contained in:
T1ti
2021-08-12 14:27:02 +02:00
committed by GitHub
parent b2d057a599
commit 0345de1901

View File

@@ -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");