Skip to content
Snippets Groups Projects
Commit 76414c4e authored by dg's avatar dg
Browse files

Focus Whip visual effect doesnt overreach

git-svn-id: http://svn.net-core.org/repos/t-engine4@5520 51575b47-30f0-44d4-a5cc-537603b46e54
parent e7c1246a
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment