Skip to content
Snippets Groups Projects
Commit 07c201c4 authored by dg's avatar dg
Browse files

fix ringil

git-svn-id: http://svn.net-core.org/repos/t-engine4@565 51575b47-30f0-44d4-a5cc-537603b46e54
parent 20775d04
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ newEntity{ base = "BASE_LONGSWORD",
use_power = { name = "generate a burst of ice", power = 8,
use = function(self, who)
local tg = {type="ball", range=0, radius=4, friendlyfire=false}
who:project(tg, who.x, who.y, engine.DamageType.ICE, {dur=2, dam=10 + (who:getMag() + who:getWil()) / 2}, {type="freeze"})
who:project(tg, who.x, who.y, engine.DamageType.ICE, 10 + (who:getMag() + who:getWil()) / 2, {type="freeze"})
game:playSoundNear(who, "talents/ice")
game.logSeen(who, "%s invokes the power of his icy sword!", who.name:capitalize())
return 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