aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr-J <daniel.jarrott0@gmail.com>2016-08-03 16:59:51 +0100
committerjoschiwald <joschiwald.trinity@gmail.com>2017-02-11 21:44:47 +0100
commitd753c24accb4cf64039d9c9a17f02bb16ca61afd (patch)
tree899f076326cb80bc459acd3d26138e696f3f772e
parent6367be09fa04d681342982164089982c70d0325d (diff)
DB/Quest: From the Depths of Azjol-Nerub
Fix this http://www.wowhead.com/quest=12036/from-the-depths-of-azjol-nerub again after https://github.com/TrinityCore/TrinityCore/commit/cdf8f3c2e1f0363b6d0b7ce82221c813d633a62c areatrigger_involvedrelation does not like sai triggers (cherry picked from commit 9977bf74790b25caeb4141122fa5c4cb19393017)
-rw-r--r--sql/updates/world/master/2017_02_11_19_world_2016_08_03_01_world.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/master/2017_02_11_19_world_2016_08_03_01_world.sql b/sql/updates/world/master/2017_02_11_19_world_2016_08_03_01_world.sql
new file mode 100644
index 00000000000..e535f2e786f
--- /dev/null
+++ b/sql/updates/world/master/2017_02_11_19_world_2016_08_03_01_world.sql
@@ -0,0 +1,9 @@
+DELETE FROM `areatrigger_involvedrelation` WHERE `id`=4950;
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=4950 AND `source_type`=2 AND `id`=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
+(4950, 2, 1, 0, 46, 0, 100, 0, 4950, 0, 0, 0, 15, 12036, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On Trigger - Complete quest');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=4950 AND `SourceId`=2;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(22, 2, 4950, 2, 0, 9, 0, 12036, 0, 0, 0, 0, 0, '', 'Trigger - requires From the Depths of Azjol-Nerub');