fix(DB/Quest): Rifle the Bodies (#3574)

This commit is contained in:
Kitzunu
2020-11-01 17:40:51 +01:00
committed by GitHub
parent ec150e1680
commit f5445a9385

View File

@@ -0,0 +1,9 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1602784760535322900');
UPDATE `quest_template_addon` SET `NextQuestID` = 0, `ExclusiveGroup` = 11995 WHERE `id` IN (11995, 12440);
UPDATE `quest_template_addon` SET `NextQuestID` = 12440 WHERE `id` = 12439;
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` = 9 AND `SourceEntry` IN (11995, 12439, 12440);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 12439, 0, 0, 9, 0, 12000, 0, 0, 1, 0, 0, '', 'Quest 12439 is not available if 12000 has been taken'),
(19, 0, 11995, 0, 0, 9, 0, 12000, 0, 0, 1, 0, 0, '', 'Quest 11995 is not available if 12000 has been taken'),
(19, 0, 12440, 0, 0, 9, 0, 12000, 0, 0, 1, 0, 0, '', 'Quest 12440 is not available if 12000 has been taken');