DB/Loot/Conditions: Improve loot conditions for Writhing Choker and & Unliving Choker

Closes #24276

(cherry picked from commit 23299bcb54)
This commit is contained in:
Killyana
2020-03-15 16:48:05 +01:00
committed by Shauren
parent 570cbc2141
commit c61cf4e353

View File

@@ -0,0 +1,10 @@
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=28519 AND `SourceEntry` IN (38660,38673);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceGroup`=0 AND `SourceEntry`=12631;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(1, 28519, 38660, 0, 0, 9, 0, 12238, 0, 0, 0, 0, 0, '', 'show itemloot if player has quest Cleansing Drak\'Tharon taken'),
(1, 28519, 38660, 0, 1, 28, 0, 12238, 0, 0, 0, 0, 0, '', 'show itemloot if player has quest Cleansing Drak\'Tharon completed'),
(1, 28519, 38660, 0, 2, 14, 0, 12238, 0, 0, 0, 0, 0, '', 'show itemloot if player has quest Cleansing Drak\'Tharon none'),
(1, 28519, 38673, 0, 0, 8, 0, 12238, 0, 0, 0, 0, 0, '', 'show itemloot if player has quest Cleansing Drak\'Tharon Rewarded'),
(1, 28519, 38673, 0, 0, 2, 0, 38660, 1, 1, 1, 0, 0, '', 'show itemloot if player Doesnt have the item 38660'),
(19, 0, 12631, 0, 0, 8, 0, 12238, 0, 0, 1, 0, 0, '', 'The quest An Invitation, of Sorts... requires Cleansing Drak\'Tharon Rewarded');