ApplyDamage returning real damage done?
Posted: Sat Jun 16, 2007 1:04 am
In order to handling damage displayed in game, it's necessary to include this feature in this function.
What do you think about?
What do you think about?
We did something like that, but the amount is still wrong when the target has lower health than the damage applied (in other words, he will die by the damage)Madman wrote:Oh look, replying to old posts.
I think it's a good idea, though I haven't checked to see if it's more complicated in the core (might have to pass the damage back up a chain of functions some of which might already be returning something else... haven't looked). But it seems like you could work around it, and yes this is ugly, but just by checking the target's hp before and after the ApplyDamage?