Skip to content
Snippets Groups Projects
Commit 710ef1fa authored by dg's avatar dg
Browse files

plop


git-svn-id: http://svn.net-core.org/repos/t-engine4@1859 51575b47-30f0-44d4-a5cc-537603b46e54
parent ea32bbd5
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ newTalent{
local tg = {type="bolt", range=self:getTalentRange(t), talent=t, display={particle="bolt_fire", trail="firetrail"}}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, DamageType.FIRE,rng.range(10, 20) * self:getTalentLevel(t), {type="flame"})
self:project(tg, x, y, DamageType.FIRE,rng.range(10, 20) * self:getTalentLevel(t))
game.level.map:particleEmitter(self.x, self.y, tg.range, "flame", {tx=x-self.x, ty=y-self.y})
return true
end,
......
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