diff options
author | untaught <untaugh@mail.bg> | 2014-08-25 22:07:42 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-08-25 22:14:14 +0100 |
commit | d0daafeb87f2f01b4a84acd8f6b9e6b378ee763e (patch) | |
tree | a4d8c05c14a392a8c52e8cdf30fcbafbc0bf2af2 | |
parent | 4d9f8b926a68a273c7dd730dca6d7e87326d3144 (diff) |
DB/Misc: Add Cosmetic Explosion Trap spawns and SAI to despawn Unstable Explosives on use.
Closes #12243
-rw-r--r-- | sql/updates/world/2014_08_25_02_world_sai.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/2014_08_25_02_world_sai.sql b/sql/updates/world/2014_08_25_02_world_sai.sql new file mode 100644 index 00000000000..2f31e348b53 --- /dev/null +++ b/sql/updates/world/2014_08_25_02_world_sai.sql @@ -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'); |