diff options
author | ZenoX92 <ZenoX92@users.noreply.github.com> | 2018-12-08 09:01:14 +0100 |
---|---|---|
committer | Killyana <morphone1@gmail.com> | 2018-12-08 09:01:14 +0100 |
commit | fb7b9533058540ed62823f18b0123c53c1aff148 (patch) | |
tree | c52ecd9b6b07988f7a6b501f4c5785c705affa0e | |
parent | b39add072b6b6a5883b780503d52ccae4a8ffa70 (diff) |
DB/Gossip: Tog Rustsprocket
Colses #22702
-rw-r--r-- | sql/updates/world/3.3.5/2018_12_08_05_world_335.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2018_12_08_05_world_335.sql b/sql/updates/world/3.3.5/2018_12_08_05_world_335.sql new file mode 100644 index 00000000000..31c1c50302e --- /dev/null +++ b/sql/updates/world/3.3.5/2018_12_08_05_world_335.sql @@ -0,0 +1,17 @@ +-- Tog Rustsprocket +DELETE FROM `gossip_menu` WHERE `MenuID`=268 AND `TextID`=767; +DELETE FROM `gossip_menu` WHERE `MenuID`=269; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(268,767,0), +(269,768,0); + +DELETE FROM `gossip_menu_option` WHERE `MenuID`=268; +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(268,0,0,"What message?",2753,1,1,269,0,0,0,"",0,0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup`=268; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14,268,767,0,0,15,0,256,0,0,0,0,0,"","Show gossip text 767 if player is a Warlock"), +(14,268,767,0,0,27,0,10,3,0,0,0,0,"","Show gossip text 767 if player is level 10 or higher"), +(15,268,0,0,0,15,0,256,0,0,0,0,0,"","Show gossip option if player is a Warlock"), +(15,268,0,0,0,27,0,10,3,0,0,0,0,"","Show gossip option if player is level 10 or higher"); |