From 0c34de947be43771c6fbf84c6ea16fde8fa685ac Mon Sep 17 00:00:00 2001 From: Wyreth Date: Wed, 8 Nov 2017 19:18:51 +0100 Subject: DB/Conditions: Limit usage of item [Gorth's Torch] to correct areas Closes #20811 (cherry picked from commit 13b028934232f4d9c8d72f8041c47c897a69edcf) --- .../world/master/2021_01_25_20_world_2017_11_08_14_world.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/master/2021_01_25_20_world_2017_11_08_14_world.sql (limited to 'sql') diff --git a/sql/updates/world/master/2021_01_25_20_world_2017_11_08_14_world.sql b/sql/updates/world/master/2021_01_25_20_world_2017_11_08_14_world.sql new file mode 100644 index 00000000000..8ea6f717f34 --- /dev/null +++ b/sql/updates/world/master/2021_01_25_20_world_2017_11_08_14_world.sql @@ -0,0 +1,7 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=43233; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(17, 0, 43233, 0, 0, 29, 0, 24182, 20, 0, 0, 0, 0, "","Spell Burn Structure requires caster to be within 20 yards of creature Winterskorn Dwelling Credit"), +(17, 0, 43233, 0, 1, 29, 0, 24183, 20, 0, 0, 0, 0, "","Spell Burn Structure requires caster to be within 20 yards of creature Winterskorn Watchtower Credit"), +(17, 0, 43233, 0, 2, 29, 0, 24184, 20, 0, 0, 0, 0, "","Spell Burn Structure requires caster to be within 20 yards of creature Winterskorn Barracks Credit"), +(17, 0, 43233, 0, 3, 29, 0, 24185, 20, 0, 0, 0, 0, "","Spell Burn Structure requires caster to be within 20 yards of creature Winterskorn Bridge Credit"); -- cgit v1.2.3