From 76414c4e9bb4ed8f1e1db125905d93d01dc35fca Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sun, 19 Aug 2012 12:47:26 +0000 Subject: [PATCH] Focus Whip visual effect doesnt overreach git-svn-id: http://svn.net-core.org/repos/t-engine4@5520 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/data/general/objects/world-artifacts.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index 8f4c85a205..50717013b3 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -3375,6 +3375,7 @@ newEntity{ base = "BASE_WHIP", if not target then return end who:attackTarget(target, engine.DamageType.MIND, 1, true) end) + local _ _, x, y = who:canProject(tg, x, y) game.level.map:particleEmitter(who.x, who.y, tg.radius, "matter_beam", {tx=x-who.x, ty=y-who.y}) game:playSoundNear(self, "talents/lightning") return {id=true, used=true} -- GitLab