aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyreth <Wyreth@users.noreply.github.com>2017-09-22 23:45:23 +0200
committerKillyana <morphone1@gmail.com>2017-09-22 23:45:23 +0200
commitac8d86d4360803d388ec19f3dd6001b47b40ffbb (patch)
tree340e02da5549da48d252b1fee9e7804ec413cfa9
parente2dd3dc1ffe617fadf89cb9fa67d6e9a6e88d29f (diff)
DB/Gossip: Fix gossip for NPC Raelorasz
Closes #20390
-rw-r--r--sql/updates/world/3.3.5/2017_09_22_07_world.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_09_22_07_world.sql b/sql/updates/world/3.3.5/2017_09_22_07_world.sql
new file mode 100644
index 00000000000..439be1d0e04
--- /dev/null
+++ b/sql/updates/world/3.3.5/2017_09_22_07_world.sql
@@ -0,0 +1,13 @@
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=9253;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
+(14, 9253, 12566, 0, 0, 8, 0, 11936, 0, 0, 1, 0, 0, "", "Gossip text 12566 requires quest 'Hatching a Plan' NOT rewarded"),
+(14, 9253, 12591, 0, 0, 8, 0, 11936, 0, 0, 0, 0, 0, "", "Gossip text 12591 requires quest 'Hatching a Plan' rewarded"),
+(14, 9253, 12591, 0, 0, 8, 0, 11931, 0, 0, 1, 0, 0, "", "Gossip text 12591 requires quest 'Cracking the Code' NOT rewarded"),
+(14, 9253, 12592, 0, 0, 8, 0, 11931, 0, 0, 0, 0, 0, "", "Gossip text 12592 requires quest 'Cracking the Code' rewarded");
+
+UPDATE `conditions` SET `SourceEntry`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9253 AND `SourceEntry`=0;
+
+DELETE FROM `gossip_menu_option` WHERE `MenuID`=9253;
+INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
+(9253, 0, 0, "What is the cause of this conflict?", 25371, 1, 1, 9283, 0, 0, 0, "", 0, 0),
+(9253, 1, 0, "I seem to have lost the Augmented Arcane Prison. Did I leave it here with you?", 25369, 1, 1, 0, 0, 0, 0, "", 0, 0);