DB/SAI: Fix and error in Ara Control Console SAI

(cherry picked from commit bc1d37f20d)
This commit is contained in:
Killyana
2020-01-22 00:04:35 +01:00
committed by Shauren
parent 0ed58b0952
commit 95b8d0fcf4

View File

@@ -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');