mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/Misc: Add Cosmetic Explosion Trap spawns and SAI to despawn Unstable Explosives on use.
Closes #12243
This commit is contained in:
4
sql/updates/world/2014_08_25_02_world_sai.sql
Normal file
4
sql/updates/world/2014_08_25_02_world_sai.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=190590;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=190590 AND `source_type`=1;
|
||||
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
|
||||
(190590,1,0,0,70,0,100,0,2,0,0,0,70,60,0,0,0,0,0,1,0,0,0,0,0,0,0,'Unstable Explosives - On State Changed - Despawn for 60 sec');
|
||||
Reference in New Issue
Block a user