mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(DB): Nathanos quest requirements (#10014)
* fix(DB): Nathanos quest requirements - Added quest requirements to his quests * always check your variables
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641335115392148600');
|
||||
|
||||
SET @QUEST_BOLGORE = 6136;
|
||||
SET @QUEST_DUSKWING = 6135;
|
||||
SET @QUEST_CALL_TO_COMMAND = 14349;
|
||||
SET @QUEST_DEPRECATED_1 = 6144;
|
||||
SET @QUEST_DEPRECATED_2 = 6145;
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 19) AND (`SourceGroup` = 0) AND (`SourceEntry` IN (@QUEST_BOLGORE, @QUEST_DUSKWING, @QUEST_CALL_TO_COMMAND));
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(19, 0, @QUEST_BOLGORE, 0, 0, 47, 0, 6022, 64, 0, 0, 0, 0, '', 'Display \'The Corpulent One\' if \'To Kill With Purpose\' is rewarded'),
|
||||
(19, 0, @QUEST_BOLGORE, 0, 0, 47, 0, 6042, 64, 0, 0, 0, 0, '', 'Display \'The Corpulent One\' if \'Un-Life\'s Little Annoyances\' is rewarded'),
|
||||
(19, 0, @QUEST_BOLGORE, 0, 0, 47, 0, 6133, 64, 0, 0, 0, 0, '', 'Display \'The Corpulent One\' if \'The Ranger Lord\'s Behest\' is rewarded'),
|
||||
(19, 0, @QUEST_DUSKWING, 0, 0, 47, 0, 6022, 64, 0, 0, 0, 0, '', 'Display \'Duskwing, Oh How I Hate Thee...\' if \'To Kill With Purpose\' is rewarded'),
|
||||
(19, 0, @QUEST_DUSKWING, 0, 0, 47, 0, 6042, 64, 0, 0, 0, 0, '', 'Display \'Duskwing, Oh How I Hate Thee...\' if \'Un-Life\'s Little Annoyances\' is rewarded'),
|
||||
(19, 0, @QUEST_DUSKWING, 0, 0, 47, 0, 6133, 64, 0, 0, 0, 0, '', 'Display \'Duskwing, Oh How I Hate Thee...\' if \'The Ranger Lord\'s Behest\' is rewarded'),
|
||||
(19, 0, @QUEST_CALL_TO_COMMAND, 0, 0, 47, 0, @QUEST_DUSKWING, 64, 0, 0, 0, 0, '', 'Display \'Call to Command\' if \'Duskwing, Oh How I Hate Thee...\' is rewarded'),
|
||||
(19, 0, @QUEST_CALL_TO_COMMAND, 0, 0, 47, 0, @QUEST_BOLGORE, 64, 0, 0, 0, 0, '', 'Display \'Call to Command\' if \'The Corpulent One\' is rewarded');
|
||||
|
||||
DELETE FROM `disables` WHERE `entry` IN (@QUEST_DEPRECATED_1, @QUEST_DEPRECATED_2) AND `sourceType` = 1;
|
||||
INSERT INTO `disables` (`sourceType`, `entry`, `comment`) VALUES
|
||||
(1, @QUEST_DEPRECATED_1, 'Disable Quest The Call to Command'),
|
||||
(1, @QUEST_DEPRECATED_2, 'Disable Quest The Crimson Courier');
|
||||
Reference in New Issue
Block a user