diff options
| author | Wyreth <Wyreth@users.noreply.github.com> | 2017-10-02 14:25:36 +0200 |
|---|---|---|
| committer | Killyana <morphone1@gmail.com> | 2017-10-02 14:25:36 +0200 |
| commit | 3f4da62734ad8372579049bacbfa81509a949f9c (patch) | |
| tree | 2e86a904199a01e5a6164de1a18d7c5be9058cce | |
| parent | 750fc349294718e8ba8b1c1817b8e44061d5abe8 (diff) | |
DB/Gossip: Shayis Steelfury
Closes #20505
| -rw-r--r-- | sql/updates/world/3.3.5/2017_10_02_05_world_335.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2017_10_02_05_world_335.sql b/sql/updates/world/3.3.5/2017_10_02_05_world_335.sql new file mode 100644 index 00000000000..e6d15d0ffcc --- /dev/null +++ b/sql/updates/world/3.3.5/2017_10_02_05_world_335.sql @@ -0,0 +1,16 @@ +-- +DELETE FROM `gossip_menu` WHERE `MenuID`=1043 AND `TextID`=1641; +INSERT INTO `gossip_menu` (`MenuID`, `TextID`, `VerifiedBuild`) VALUES +(1043, 1641, 0); + +DELETE FROM `gossip_menu_option` WHERE `MenuID` IN (1043); +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(1043, 0, 3, "Train me.", 3266, 5, 16, 0, 0, 0, 0, "", 0, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=1043 AND `SourceEntry` IN (1640, 1641); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1043; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(14, 1043, 1640, 0, 0, 7, 0, 164, 1, 0, 0, 0, 0, "", "Show gossip text 1640 if player is a blacksmith AND"), +(14, 1043, 1640, 0, 0, 25, 0, 9788, 0, 0, 1, 0, 0, "", "Show gossip text 1640 if player does NOT have spell 'Armorsmith'"), +(14, 1043, 1641, 0, 0, 25, 0, 9788, 0, 0, 0, 0, 0, "", "Show gossip text 1641 if player has spell 'Armorsmith'"), +(15, 1043, 0, 0, 0, 25, 0, 9788, 0, 0, 0, 0, 0, "", "Show gossip option if player has spell 'Armorsmith'"); |
