fix(DB/Quest): make Argent Tournament Valiant Of (City) quests mutually exclusive (#27748)

Co-authored-by: Claude Opus 5 <[email protected]>
This commit is contained in:
EricksOliveira
2026-09-27 11:23:08 -03:00
committed by GitHub
co-authored by Claude Opus 5
parent 80a36c8e25
commit 289bce3ce6
@@ -0,0 +1,43 @@
-- #27662 Valiant Of (city) quests are mutually exclusive while one is in the quest log
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceGroup` = 0 AND `ConditionTypeOrReference` = 47 AND `SourceEntry` IN (13593, 13703, 13704, 13705, 13706, 13707, 13708, 13709, 13710, 13711);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 13593, 0, 0, 47, 0, 13703, 42, 0, 1, 0, 0, '', 'Valiant of Ironforge Not Taken'),
(19, 0, 13593, 0, 0, 47, 0, 13704, 42, 0, 1, 0, 0, '', 'Valiant of Gnomeregan Not Taken'),
(19, 0, 13593, 0, 0, 47, 0, 13705, 42, 0, 1, 0, 0, '', 'Valiant of The Exodar Not Taken'),
(19, 0, 13593, 0, 0, 47, 0, 13706, 42, 0, 1, 0, 0, '', 'Valiant of Darnassus Not Taken'),
(19, 0, 13703, 0, 0, 47, 0, 13593, 42, 0, 1, 0, 0, '', 'Valiant of Stormwind Not Taken'),
(19, 0, 13703, 0, 0, 47, 0, 13704, 42, 0, 1, 0, 0, '', 'Valiant of Gnomeregan Not Taken'),
(19, 0, 13703, 0, 0, 47, 0, 13705, 42, 0, 1, 0, 0, '', 'Valiant of The Exodar Not Taken'),
(19, 0, 13703, 0, 0, 47, 0, 13706, 42, 0, 1, 0, 0, '', 'Valiant of Darnassus Not Taken'),
(19, 0, 13704, 0, 0, 47, 0, 13593, 42, 0, 1, 0, 0, '', 'Valiant of Stormwind Not Taken'),
(19, 0, 13704, 0, 0, 47, 0, 13703, 42, 0, 1, 0, 0, '', 'Valiant of Ironforge Not Taken'),
(19, 0, 13704, 0, 0, 47, 0, 13705, 42, 0, 1, 0, 0, '', 'Valiant of The Exodar Not Taken'),
(19, 0, 13704, 0, 0, 47, 0, 13706, 42, 0, 1, 0, 0, '', 'Valiant of Darnassus Not Taken'),
(19, 0, 13705, 0, 0, 47, 0, 13593, 42, 0, 1, 0, 0, '', 'Valiant of Stormwind Not Taken'),
(19, 0, 13705, 0, 0, 47, 0, 13703, 42, 0, 1, 0, 0, '', 'Valiant of Ironforge Not Taken'),
(19, 0, 13705, 0, 0, 47, 0, 13704, 42, 0, 1, 0, 0, '', 'Valiant of Gnomeregan Not Taken'),
(19, 0, 13705, 0, 0, 47, 0, 13706, 42, 0, 1, 0, 0, '', 'Valiant of Darnassus Not Taken'),
(19, 0, 13706, 0, 0, 47, 0, 13593, 42, 0, 1, 0, 0, '', 'Valiant of Stormwind Not Taken'),
(19, 0, 13706, 0, 0, 47, 0, 13703, 42, 0, 1, 0, 0, '', 'Valiant of Ironforge Not Taken'),
(19, 0, 13706, 0, 0, 47, 0, 13704, 42, 0, 1, 0, 0, '', 'Valiant of Gnomeregan Not Taken'),
(19, 0, 13706, 0, 0, 47, 0, 13705, 42, 0, 1, 0, 0, '', 'Valiant of The Exodar Not Taken'),
(19, 0, 13707, 0, 0, 47, 0, 13708, 42, 0, 1, 0, 0, '', 'Valiant of Sen\'jin Not Taken'),
(19, 0, 13707, 0, 0, 47, 0, 13709, 42, 0, 1, 0, 0, '', 'Valiant of Thunder Bluff Not Taken'),
(19, 0, 13707, 0, 0, 47, 0, 13710, 42, 0, 1, 0, 0, '', 'Valiant of Undercity Not Taken'),
(19, 0, 13707, 0, 0, 47, 0, 13711, 42, 0, 1, 0, 0, '', 'Valiant of Silvermoon Not Taken'),
(19, 0, 13708, 0, 0, 47, 0, 13707, 42, 0, 1, 0, 0, '', 'Valiant of Orgrimmar Not Taken'),
(19, 0, 13708, 0, 0, 47, 0, 13709, 42, 0, 1, 0, 0, '', 'Valiant of Thunder Bluff Not Taken'),
(19, 0, 13708, 0, 0, 47, 0, 13710, 42, 0, 1, 0, 0, '', 'Valiant of Undercity Not Taken'),
(19, 0, 13708, 0, 0, 47, 0, 13711, 42, 0, 1, 0, 0, '', 'Valiant of Silvermoon Not Taken'),
(19, 0, 13709, 0, 0, 47, 0, 13707, 42, 0, 1, 0, 0, '', 'Valiant of Orgrimmar Not Taken'),
(19, 0, 13709, 0, 0, 47, 0, 13708, 42, 0, 1, 0, 0, '', 'Valiant of Sen\'jin Not Taken'),
(19, 0, 13709, 0, 0, 47, 0, 13710, 42, 0, 1, 0, 0, '', 'Valiant of Undercity Not Taken'),
(19, 0, 13709, 0, 0, 47, 0, 13711, 42, 0, 1, 0, 0, '', 'Valiant of Silvermoon Not Taken'),
(19, 0, 13710, 0, 0, 47, 0, 13707, 42, 0, 1, 0, 0, '', 'Valiant of Orgrimmar Not Taken'),
(19, 0, 13710, 0, 0, 47, 0, 13708, 42, 0, 1, 0, 0, '', 'Valiant of Sen\'jin Not Taken'),
(19, 0, 13710, 0, 0, 47, 0, 13709, 42, 0, 1, 0, 0, '', 'Valiant of Thunder Bluff Not Taken'),
(19, 0, 13710, 0, 0, 47, 0, 13711, 42, 0, 1, 0, 0, '', 'Valiant of Silvermoon Not Taken'),
(19, 0, 13711, 0, 0, 47, 0, 13707, 42, 0, 1, 0, 0, '', 'Valiant of Orgrimmar Not Taken'),
(19, 0, 13711, 0, 0, 47, 0, 13708, 42, 0, 1, 0, 0, '', 'Valiant of Sen\'jin Not Taken'),
(19, 0, 13711, 0, 0, 47, 0, 13709, 42, 0, 1, 0, 0, '', 'Valiant of Thunder Bluff Not Taken'),
(19, 0, 13711, 0, 0, 47, 0, 13710, 42, 0, 1, 0, 0, '', 'Valiant of Undercity Not Taken');