fix(DB/conditions): Frenzyheart Champion & Hand of the Oracles (#3691)

This commit is contained in:
Kitzunu 2020-11-23 17:40:08 +01:00 committed by GitHub
parent 5053cb4121
commit 5d3bb6085d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,8 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1605340113678491500');
UPDATE `quest_template_addon` SET `ExclusiveGroup` = 12582 WHERE `id` IN (12582,12689);
UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `id` IN (12692,12695);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry` IN (12692,12695);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 12692, 0, 0, 43, 0, 12582, 0, 0, 0, 0, 0, '', 'Quest \'Return of the Lich Hunter\' available when \'Frenzyheart Champion\' has been rewarded'),
(19, 0, 12695, 0, 0, 43, 0, 12689, 0, 0, 0, 0, 0, '', 'Quest \'Return of the Friendly Dryskin\' available when \'Hand of the Oracles\' has been rewarded');