mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(DB): Outrunner Alarion gossip menu (#6390)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1623924645868172900');
|
||||
|
||||
SET @GOSSIP_MENU = 6573;
|
||||
SET @TEXT_QUEST_INCOMPLETE = 7788;
|
||||
SET @TEXT_QUEST_COMPLETE = 7821;
|
||||
SET @QUEST_COMPLETING_THE_DELIVERY = 8350;
|
||||
|
||||
DELETE FROM `gossip_menu` WHERE (`MenuID` = @GOSSIP_MENU) AND (`TextID` IN (@TEXT_QUEST_INCOMPLETE));
|
||||
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
|
||||
(@GOSSIP_MENU, @TEXT_QUEST_INCOMPLETE);
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` = @GOSSIP_MENU) AND (`SourceEntry` = @TEXT_QUEST_INCOMPLETE) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 8) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = @QUEST_COMPLETING_THE_DELIVERY) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(14, @GOSSIP_MENU, @TEXT_QUEST_INCOMPLETE, 0, 0, 8, 0, @QUEST_COMPLETING_THE_DELIVERY, 0, 0, 1, 0, 0, '', 'Display npc text on gossip menu if quest \'Completing the delivery\' is incomplete');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` = @GOSSIP_MENU) AND (`SourceEntry` = @TEXT_QUEST_COMPLETE) AND (`SourceId` = 0) AND (`ElseGroup` = 0) AND (`ConditionTypeOrReference` = 8) AND (`ConditionTarget` = 0) AND (`ConditionValue1` = @QUEST_COMPLETING_THE_DELIVERY) AND (`ConditionValue2` = 0) AND (`ConditionValue3` = 0);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(14, @GOSSIP_MENU, @TEXT_QUEST_COMPLETE, 0, 0, 8, 0, @QUEST_COMPLETING_THE_DELIVERY, 0, 0, 0, 0, 0, '', 'Display this gossip menu text when quest \'Completing the delivery\' was rewarded.');
|
||||
Reference in New Issue
Block a user