Код:
UPDATE `quest_template` SET `RewardNextQuest`=48077 WHERE `ID`=48070; -- Фестиваль Норвингтонов
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=0, `ExclusiveGroup`=48070 WHERE `ID`=48070;
UPDATE `quest_template` SET `RewardNextQuest`=48077 WHERE `ID`=51199; -- Славная охота
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=0, `ExclusiveGroup`=48070 WHERE `ID`=51199;
UPDATE `quest_template` SET `RewardNextQuest`=0 WHERE `ID`=48077; -- Охота на горностаев
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=48670, `ExclusiveGroup`=-48077 WHERE `ID`=48077;
UPDATE `quest_template` SET `RewardNextQuest`=0 WHERE `ID`=48080; -- Элемент опасности
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=48670, `ExclusiveGroup`=-48077 WHERE `ID`=48080;
UPDATE `quest_template` SET `RewardNextQuest`=0 WHERE `ID`=48616; -- Боласы и птицы
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=48670, `ExclusiveGroup`=-48077 WHERE `ID`=48616;
UPDATE `quest_template` SET `RewardNextQuest`=0 WHERE `ID`=48670; -- Ускакавший всадник
UPDATE `quest_template_addon` SET `PrevQuestID`=0, `NextQuestID`=0, `ExclusiveGroup`=0 WHERE `ID`=48670;
DELETE FROM `conditions` WHERE `SourceEntry` IN (48077, 48080, 48616) AND `SourceTypeOrReferenceId`=19;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 48077, 0, 0, 8, 0, 48070, 0, 0, 0, 0, 0, '', 'Accept quest 48077 - Quest 48070 needs to be rewarded'),
(19, 0, 48077, 0, 1, 8, 0, 51199, 0, 0, 0, 0, 0, '', 'Accept quest 48077 - Quest 51199 needs to be rewarded'),
(19, 0, 48080, 0, 0, 8, 0, 48070, 0, 0, 0, 0, 0, '', 'Accept quest 48080 - Quest 48070 needs to be rewarded'),
(19, 0, 48080, 0, 1, 8, 0, 51199, 0, 0, 0, 0, 0, '', 'Accept quest 48080 - Quest 51199 needs to be rewarded'),
(19, 0, 48616, 0, 0, 8, 0, 48070, 0, 0, 0, 0, 0, '', 'Accept quest 48616 - Quest 48070 needs to be rewarded'),
(19, 0, 48616, 0, 1, 8, 0, 51199, 0, 0, 0, 0, 0, '', 'Accept quest 48616 - Quest 51199 needs to be rewarded');