aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2020-03-15 16:48:05 +0100
committerKillyana <morphone1@gmail.com>2020-03-15 16:48:05 +0100
commit23299bcb544fe0606bd856ece08eda5b969f9aab (patch)
treeaec862e9484c2b9147f338247c56246696dd861e
parent1e5192327e0689a4ff1c2cd81de00343d5cd9f70 (diff)
DB/Loot/Conditions: Improve loot conditions for Writhing Choker and & Unliving Choker
Closes #24276
-rw-r--r--sql/updates/world/3.3.5/2020_03_15_04_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2020_03_15_04_world.sql b/sql/updates/world/3.3.5/2020_03_15_04_world.sql
new file mode 100644
index 00000000000..a51abbfdabd
--- /dev/null
+++ b/sql/updates/world/3.3.5/2020_03_15_04_world.sql
@@ -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');