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

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@1929 51575b47-30f0-44d4-a5cc-537603b46e54
parent 0bb15055
No related branches found
No related tags found
No related merge requests found
......@@ -616,9 +616,9 @@ function _M:onTakeHit(value, src)
-- Explode!
game.logSeen(self, "%s unleashes the stored damage in retribution!", self.name:capitalize())
local tg = {type="ball", range=0, radius=self:getTalentRange(self.T_RETRIBUTION), friendlyfire=false, talent=t}
local tg = {type="ball", range=0, radius=self:getTalentRange(self:getTalentFromId(self.T_RETRIBUTION)), friendlyfire=false, talent=t}
local grids = self:project(tg, self.x, self.y, DamageType.LIGHT, dam)
game.level.map:particleEmitter(self.x, self.y, tg.radius, "sunburst", {radius=tg.radius, grids=grids, tx=self.x, ty=self.y})
game.level.map:particleEmitter(self.x, self.y, tg.radius, "sunburst", {radius=tg.radius, grids=grids, tx=self.x, ty=self.y})
end
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