Rename Mob.sql to SmartAI.sql

This commit is contained in:
Manmadedrummer
2025-06-12 16:51:26 -04:00
committed by GitHub
parent 0590bcbb35
commit 3155368763

29
SmartScripts/SmartAI.sql Normal file
View File

@@ -0,0 +1,29 @@
-- Bone Witch
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16380;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16380);
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`, `event_param6`, `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
(16380, 0, 0, 0, 0, 0, 100, 0, 2000, 2000, 3000, 3000, 0, 0, 87, 1638001, 1638002, 1638003, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Run Random Script'),
(16380, 0, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 20829, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Arcane Bolt\''),
(16380, 0, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 17014, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Bone Shards\''),
(16380, 0, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 56138, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bone Witch - In Combat - Cast \'Sprained Ankle\'');
-- Spirit of The Damned
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16379;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16379);
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`, `event_param6`, `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
(16379, 0, 0, 0, 0, 0, 100, 0, 4000, 15000, 15000, 25000, 0, 0, 11, 22743, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Damned - In Combat - Cast \'Ribbon of Souls\'');
-- Lumbering Horror
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 14697;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 14697);
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`, `event_param6`, `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
(14697, 0, 0, 0, 0, 0, 100, 0, 10000, 15000, 12000, 18000, 0, 0, 11, 56143, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lumbering Horror - In Combat - Cast \'Acidic Retch\''),
(14697, 0, 1, 0, 0, 0, 100, 0, 20000, 25000, 22000, 28000, 0, 0, 11, 16790, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lumbering Horror - In Combat - Cast \'Knockdown\''),
(14697, 0, 2, 0, 0, 0, 100, 0, 30000, 40000, 32000, 42000, 0, 0, 11, 5568, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Lumbering Horror - In Combat - Cast \'Trample\'');