From 259ccc6446ff24fe5f5be65afbb12f419be31fbf Mon Sep 17 00:00:00 2001 From: CraftedRO Date: Mon, 31 Oct 2022 18:50:06 +0100 Subject: Quest: Trial and Error (10566) Item use conditions Closes #28262 --- sql/updates/world/3.3.5/2022_10_31_02_world.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/3.3.5/2022_10_31_02_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2022_10_31_02_world.sql b/sql/updates/world/3.3.5/2022_10_31_02_world.sql new file mode 100644 index 00000000000..ec2504cce48 --- /dev/null +++ b/sql/updates/world/3.3.5/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'"); -- cgit v1.2.3