fix(DB/quest): Remove incorrect prereq, premature drop for Gurf's Dignity (#7334)

* fix(DB/quest): Remove incorrect prerequisite quest for Gurf's Dignity

* Update rev_1628925002692757285.sql

* Update rev_1628925002692757285.sql

Co-authored-by: PolarCookie <sei009@post.uit.no>
This commit is contained in:
Azcobu
2021-08-18 08:09:08 +09:30
committed by GitHub
parent 1e84e062f4
commit 0e6284f2a5

View File

@@ -0,0 +1,11 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1628925002692757285');
-- Remove incorrect quest prerequisite from Gurf's Dignity quest
UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` = 9564;
-- Adds condition so Gurf's Dignity item only drops if Murlocs quest is rewarded, taken or completed
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup` = 17475 AND `SourceEntry`=23850;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1, 17475, 23850, 0, 0, 8, 0, 9562, 0, 0, 0, 0, 0, "", 'Item "Gurf\'s Dignity" can be looted if quest "Murlocs... Why Here? Why Now?" is rewarded'),
(1, 17475, 23850, 0, 1, 9, 0, 9562, 0, 0, 0, 0, 0, "", 'Item "Gurf\'s Dignity" can be looted if quest "Murlocs... Why Here? Why Now?" is taken'),
(1, 17475, 23850, 0, 2, 28, 0, 9562, 0, 0, 0, 0, 0, "", 'Item "Gurf\'s Dignity" can be looted if quest "Murlocs... Why Here? Why Now?" is completed');