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

Static Field now shows how much damage was done


git-svn-id: http://svn.net-core.org/repos/t-engine4@5008 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3f2181fd
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,8 @@ newTalent{
local dam = target.life * perc / 100
if target.life - dam < 0 then dam = target.life end
target:takeHit(dam, self)
game:delayedLogDamage(self, target, dam, ("#PURPLE#%d pure damage#LAST#"):format(math.ceil(dam)))
end, nil, {type="lightning_explosion"})
game:playSoundNear(self, "talents/lightning")
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