aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorCraftedRO <CraftedRO@users.noreply.github.com>2022-10-31 18:50:06 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-12 22:55:15 +0100
commit06437034803756b93f32c18b2517fc590dcac63d (patch)
tree1bb98bc55ebc1749d615e37d5f74a8ff34c4df13 /sql
parentb553e0749659add853bacdaecb6ae47e0fa2ed7b (diff)
Quest: Trial and Error (10566) Item use conditions
Closes #28262 (cherry picked from commit 259ccc6446ff24fe5f5be65afbb12f419be31fbf)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2023_01_12_07_world_2022_10_31_02_world.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/world/master/2023_01_12_07_world_2022_10_31_02_world.sql b/sql/updates/world/master/2023_01_12_07_world_2022_10_31_02_world.sql
new file mode 100644
index 00000000000..ec2504cce48
--- /dev/null
+++ b/sql/updates/world/master/2023_01_12_07_world_2022_10_31_02_world.sql
@@ -0,0 +1,7 @@
+-- Conditions for Trial and Error (10566)
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 17 AND `SourceEntry` IN (37221,37320,37322,37323);
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(17,0,37221,0,0,31,1,3,21254,0,0,0,0,'',"Spell 'Cristal Control' targets creature 'Dullgrom Dredger'"),
+(17,0,37320,0,0,31,1,3,21254,0,0,0,0,'',"Spell 'Cristal Control' targets creature 'Dullgrom Dredger'"),
+(17,0,37322,0,0,31,1,3,21254,0,0,0,0,'',"Spell 'Cristal Control' targets creature 'Dullgrom Dredger'"),
+(17,0,37323,0,0,31,1,3,21254,0,0,0,0,'',"Spell 'Cristal Control' targets creature 'Dullgrom Dredger'");