Skip to content
Snippets Groups Projects
Commit 215a62d7 authored by dg's avatar dg
Browse files

Fixed Storm Fury

git-svn-id: http://svn.net-core.org/repos/t-engine4@5167 51575b47-30f0-44d4-a5cc-537603b46e54
parent 48ea99be
No related branches found
No related tags found
No related merge requests found
......@@ -1348,7 +1348,7 @@ newEntity{ base = "BASE_LONGBOW",
local a, id = rng.table(tgts)
table.remove(tgts, id)
self.za = 0
self.zap = 0
who:project(tg, a.x, a.y, DamageType.LIGHTNING_DAZE, {daze=40, dam = rng.avg(1,3) * (40+ who:getMag() * 1.5)} )
game.level.map:particleEmitter(who.x, who.y, math.max(math.abs(a.x-who.x), math.abs(a.y-who.y)), "lightning", {tx=a.x-who.x, ty=a.y-who.y})
game:playSoundNear(self, "talents/lightning")
......
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