DB/Conditions: Limit usage of item [Gorth's Torch] to correct areas

Closes #20811

(cherry picked from commit 13b0289342)
This commit is contained in:
Wyreth
2017-11-08 19:18:51 +01:00
committed by funjoker
parent 2c0e44c121
commit 0c34de947b

View File

@@ -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");