mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
12
sql/updates/world/master/2022_01_14_04_world.sql
Normal file
12
sql/updates/world/master/2022_01_14_04_world.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- Combat Dummy smart ai
|
||||
SET @ENTRY := 160737;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
|
||||
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, 1, 6, 0, 100, 0, 0, 0, 0, 0, 137, 120374, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Plays SpellVisual with SpellVisualKitId: 120374, KitType: 0 for 0 ms'),
|
||||
(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 85, 344116, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 0, 'On death - Targets all loot recipients: Cast spell 344116 on self'),
|
||||
(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 3, 0, 11686, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On death - Self: Morph to model 11686'),
|
||||
(@ENTRY, 0, 3, 4, 11, 0, 100, 0, 0, 0, 0, 0, 116, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On respawn - Self: Sets corpse delay to 3 s'),
|
||||
(@ENTRY, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'On respawn - Self: Set react state to Passive');
|
||||
|
||||
UPDATE `creature` SET `spawntimesecs`=2 WHERE `id`=@ENTRY;
|
||||
Reference in New Issue
Block a user