aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2014-02-27 04:28:12 +0100
committerAokromes <Aokromes@users.noreply.github.com>2014-02-27 04:28:12 +0100
commitedcd757872beb16ef173c0e92516159dbcfd229b (patch)
tree38de4e0d335e3ec9a6a452ca0216b67065fcb6c7
parentce0154456164da14c97651a3ad6624dc782edd34 (diff)
DB/Gameobject: Dun Argol Cage
By dr-j, closes #11649
-rw-r--r--sql/updates/world/2014_02_27_01_world_sai.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/updates/world/2014_02_27_01_world_sai.sql b/sql/updates/world/2014_02_27_01_world_sai.sql
new file mode 100644
index 00000000000..3f05493f5e8
--- /dev/null
+++ b/sql/updates/world/2014_02_27_01_world_sai.sql
@@ -0,0 +1,11 @@
+--
+DELETE FROM `smart_scripts` WHERE `entryorguid` IN(2711300,2711400, 2711500) and`source_type`=9 and`id`=4 and`action_type`=32;
+UPDATE `smart_scripts` SET `id`=4, `event_param1`=3000, `event_param2`=3000, `event_param3`=3000, `event_param4`=3000 WHERE `entryorguid` IN(2711300,2711400, 2711500) and`source_type`=9 and`id`=5;
+
+UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', `ScriptName`='' WHERE `entry`=188554;
+DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=188554;
+DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=18855400;
+
+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
+(188554, 1, 0 ,0, 70, 0, 100, 0, 2, 0, 0,0,80,18855400,2,0,0,0,0,1,0,0,0,0, 0, 0, 0, 'Dun Argol Cage - On State Changed - Run Script'),
+(18855400, 9, 0 ,0, 0, 0, 100, 0, 15000, 15000, 0,0,32,0,0,0,0,0,0,1,0,0,0,0, 0, 0, 0, 'Dun Argol Cage - Script - Reset GO');