diff options
author | Wyreth <Wyreth@users.noreply.github.com> | 2017-09-22 23:45:23 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-09-08 22:43:03 +0200 |
commit | f366e9823f296eaf285982b7bc0c28775d32fdd9 (patch) | |
tree | b333d1f7b1e6ba39651d29cd76f2f88fb1b704ce | |
parent | e3c51fdfb968ddf469c89e1ba6036f759fe2e624 (diff) |
DB/Gossip: Fix gossip for NPC Raelorasz
Closes #20390
(cherry picked from commit ac8d86d4360803d388ec19f3dd6001b47b40ffbb)
-rw-r--r-- | sql/updates/world/master/2020_09_08_05_world_2017_09_22_07_world.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_09_08_05_world_2017_09_22_07_world.sql b/sql/updates/world/master/2020_09_08_05_world_2017_09_22_07_world.sql new file mode 100644 index 00000000000..9e8b63fcfc4 --- /dev/null +++ b/sql/updates/world/master/2020_09_08_05_world_2017_09_22_07_world.sql @@ -0,0 +1,17 @@ +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`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES +(9253, 0, 0, "What is the cause of this conflict?", 25371, 1, 1, 0), +(9253, 1, 0, "I seem to have lost the Augmented Arcane Prison. Did I leave it here with you?", 25369, 1, 1, 0); + +DELETE FROM `gossip_menu_option_action` WHERE `MenuID`=9253 AND `OptionIndex`=0; +INSERT INTO `gossip_menu_option_action` (`MenuId`, `OptionIndex`, `ActionMenuID`, `ActionPoiID`) VALUES +(9253, 0, 9283, 0); |