aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2020-03-15 16:48:05 +0100
committerShauren <shauren.trinity@gmail.com>2021-12-23 19:47:49 +0100
commitc61cf4e353c63c565d295bdde9db6c01670e526c (patch)
tree8d4e0dca64912b814100cdaf6de8229454f704ef
parent570cbc2141874c447ecdfb0e8c4be7c3d0f0bc23 (diff)
DB/Loot/Conditions: Improve loot conditions for Writhing Choker and & Unliving Choker
Closes #24276 (cherry picked from commit 23299bcb544fe0606bd856ece08eda5b969f9aab)
-rw-r--r--sql/updates/world/master/2021_12_23_08_world_2020_03_15_04_world.sql10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/updates/world/master/2021_12_23_08_world_2020_03_15_04_world.sql b/sql/updates/world/master/2021_12_23_08_world_2020_03_15_04_world.sql
new file mode 100644
index 00000000000..a51abbfdabd
--- /dev/null
+++ b/sql/updates/world/master/2021_12_23_08_world_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');