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

Flying text incoming damage now "sinks" instead of rising up

git-svn-id: http://svn.net-core.org/repos/t-engine4@3621 51575b47-30f0-44d4-a5cc-537603b46e54
parent 945fb661
No related branches found
No related tags found
No related merge requests found
......@@ -755,7 +755,7 @@ function _M:displayDelayedLogDamage()
if game.level.map.seens(x, y) and (rsrc == game.player or game.party:hasMember(rsrc)) then
game.flyers:add(sx, sy, 30, (rng.range(0,2)-1) * 0.5, rng.float(-3, -2), tostring(-math.ceil(dams.total)), {0,255,0})
elseif game.level.map.seens(x, y) and (rtarget == game.player or game.party:hasMember(rtarget)) then
game.flyers:add(sx, sy, 30, (rng.range(0,2)-1) * 0.5, rng.float(-3, -2), tostring(-math.ceil(dams.total)), {255,0,0})
game.flyers:add(sx, sy, 30, (rng.range(0,2)-1) * 0.5, -rng.float(-3, -2), tostring(-math.ceil(dams.total)), {255,0,0})
end
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