aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr-J <daniel.jarrott0@gmail.com>2014-11-19 22:21:25 +0000
committerDr-J <daniel.jarrott0@gmail.com>2014-11-19 22:21:25 +0000
commit6f58467ff2f8dce9fb3c27c16e1535397cdd792c (patch)
tree01169b19129293ee13d67fb19a210bac79c917f5
parent849e7a68fc7053bdd11444c7b0fe5c059d0042d1 (diff)
DB/Misc: Quest linking
The amphitheatre of anguise should continue regardless as wether player completed http://www.wowhead.com/quest=12932 or http://www.wowhead.com/quest=12954 as first quest in chain, not only if player did 12932 (quest offered if player did not do nagrand quests), if 12954 was taken no further quest would be offered once returned.
-rw-r--r--sql/updates/world/2014_11_19_02_world.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/updates/world/2014_11_19_02_world.sql b/sql/updates/world/2014_11_19_02_world.sql
new file mode 100644
index 00000000000..635c31be96c
--- /dev/null
+++ b/sql/updates/world/2014_11_19_02_world.sql
@@ -0,0 +1,8 @@
+UPDATE `quest_template` SET `PrevQuestId`=0 WHERE `Id`=12933;
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN(19,20) AND `SourceEntry`=12933;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(19, 0, 12933, 0, 0, 8, 0, 12932, 0, 0, 0, 0, 0, '', 'The Amphitheater of Anguish: Magnataur! after The Amphitheater of Anguish: Yggdras!'),
+(20, 0, 12933, 0, 0, 8, 0, 12932, 0, 0, 0, 0, 0, '', 'The Amphitheater of Anguish: Magnataur! after The Amphitheater of Anguish: Yggdras!'),
+(19, 0, 12933, 0, 1, 8, 0, 12954, 0, 0, 0, 0, 0, '', 'The Amphitheater of Anguish: Magnataur! after The Amphitheater of Anguish: Yggdras!'),
+(20, 0, 12933, 0, 1, 8, 0, 12954, 0, 0, 0, 0, 0, '', 'The Amphitheater of Anguish: Magnataur! after The Amphitheater of Anguish: Yggdras!');