From 9fe890744c5967bd46c0bd19e8901df6d91cd891 Mon Sep 17 00:00:00 2001 From: Andrew Letson Date: Sat, 21 Oct 2017 07:28:57 -0400 Subject: [3.3.5] DB/Scripts: Rivern Frostwind --- sql/updates/world/3.3.5/2017_10_21_08_world.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sql/updates/world/3.3.5/2017_10_21_08_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2017_10_21_08_world.sql b/sql/updates/world/3.3.5/2017_10_21_08_world.sql new file mode 100644 index 00000000000..1fff4618e67 --- /dev/null +++ b/sql/updates/world/3.3.5/2017_10_21_08_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 10618; + +DELETE FROM `gossip_menu_option` WHERE `MenuID` = 3130; +-- TODO check against live for what the actual gossip menu is. Didn't find anything helpful searching the broadcast_text table. +INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES +(3130, 0, 1, "I would like to buy from you.", 2583, 3, 128, 0, 0, 0, 0, '', 0, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 3130; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 3130, 0, 0, 0, 5, 0, 589, 128, 0, 0, 0, 0, '', 'Show gossip menu 3130 option id 0 if player is Exalted with faction Wintersaber Trainers.'); -- cgit v1.2.3