aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordr-j <dr-j@trinity.contrib>2013-02-16 11:20:11 +0100
committerZxBiohazardZx <zxbiohazardzx@gmail.com>2013-02-16 11:20:11 +0100
commitb7b7f964a390a76bd1577ccf1bd79f601df5ef7a (patch)
treefa81e3118c0c0cefd6bfda5cbaa0c822e7a5c6c1
parent6141d38269d19b280def8203d5b35e65f1208b93 (diff)
DB/Quests:
Update Quest Requirements for To Bor'gorok Outpost, Quickly! Closes #9113 Fix Quest Grouping Add Quest Conditions for Hellscream's Champion Closes #9092 Fix SAI for Hugh Glass Closes #9097
-rw-r--r--sql/updates/world/2013_02_16_05_world_quest_template.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/2013_02_16_05_world_quest_template.sql b/sql/updates/world/2013_02_16_05_world_quest_template.sql
new file mode 100644
index 00000000000..81a8e38f25d
--- /dev/null
+++ b/sql/updates/world/2013_02_16_05_world_quest_template.sql
@@ -0,0 +1,17 @@
+-- Previous quest should be The Defense of Warsong Hold not To Conquest Hold, But Be Careful!
+UPDATE `quest_template` SET `PrevQuestId`=11596 WHERE `Id`=12486;
+-- Change grouping so Alliance and Horde quests are no longer in 1 group
+UPDATE `quest_template` SET `ExclusiveGroup`=-12222 WHERE `Id` IN(12222,12223);
+-- Hellscreams Champion requires some conditions to start the quest
+UPDATE `quest_template` SET `ExclusiveGroup`=0,`NextQuestId`=0 WHERE `Id` IN(11652,11705,11722);
+UPDATE `quest_template` SET `NextQuestId`=11709 WHERE `Id`=11705;
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (19,20) AND `SourceEntry`=11916;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(20,0,11916,0,0,8,0,11652,0,0,0,0, '', 'Player must have completed The Plains of Nasam before been able to accept Hellscream''s Champion'),
+(19,0,11916,0,0,8,0,11652,0,0,0,0, '', 'Player must have completed The Plains of Nasam before been able to accept Hellscream''s Champion'),
+(20,0,11916,0,0,8,0,11705,0,0,0,0, '', 'Player must have completed The Foolish Endeavors before been able to accept Hellscream''s Champion'),
+(19,0,11916,0,0,8,0,11705,0,0,0,0, '', 'Player must have completed The Foolish Endeavors before been able to accept Hellscream''s Champion'),
+(20,0,11916,0,0,8,0,11722,0,0,0,0, '', 'Player must have completed The Trophies of Gammoth before been able to accept Hellscream''s Champion'),
+(19,0,11916,0,0,8,0,11722,0,0,0,0, '', 'Player must have completed The Trophies of Gammoth before been able to accept Hellscream''s Champion');
+-- Fix SAI issue for Hugh Glass (wrong npcflag was set)
+UPDATE `smart_scripts` SET `action_param1`=643 WHERE `entryorguid`=2648400 AND `source_type`=9 AND `id`=6;