aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2020-01-22 00:04:35 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-20 23:17:56 +0100
commit95b8d0fcf44ea037cf5a177ba5ca94b1f02c64f4 (patch)
tree1d936388ff0ed2b89de10638d06be527f911276d
parent0ed58b09526c5c0b8670348f4b72491852c2f1eb (diff)
DB/SAI: Fix and error in Ara Control Console SAI
(cherry picked from commit bc1d37f20d7c27d6fe34356bcbb388550e7aee63)
-rw-r--r--sql/updates/world/master/2021_12_20_27_world_2020_01_21_00_world.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_20_27_world_2020_01_21_00_world.sql b/sql/updates/world/master/2021_12_20_27_world_2020_01_21_00_world.sql
new file mode 100644
index 00000000000..f9abec45085
--- /dev/null
+++ b/sql/updates/world/master/2021_12_20_27_world_2020_01_21_00_world.sql
@@ -0,0 +1,5 @@
+--
+UPDATE `smart_scripts` SET `link`=8 WHERE `entryorguid`IN (184312) AND `source_type`=1 AND `id` IN (7);
+DELETE FROM `smart_scripts` WHERE `entryorguid`IN (184312) AND `source_type`=1 AND `id` IN (0,8) AND `action_type`=78;
+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`, `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
+(184312, 1, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Reset Scripts');