[3.3.5] DB/Scripts: Rivern Frostwind

(cherry picked from commit 9fe890744c)
This commit is contained in:
Andrew Letson
2017-10-21 07:28:57 -04:00
committed by funjoker
parent 9457c1bb9d
commit f3b3bdf072
2 changed files with 12 additions and 46 deletions

View File

@@ -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`, `OptionIndex`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `VerifiedBuild`) VALUES
(3130, 0, 1, "I would like to buy from you.", 2583, 3, 128, 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.');