Quote:
Originally Posted by psychonic
Largest requests for it were actually from TF2 and CS:S/CS:GO scripters.
It gives you the damage amount after game logic makes adjustments to it (from critical hits, armor, other damage reduction/buffs), before the damage is actually applied.
|
I had a bug in dota 2 where take damage will still trigger even if the unit was dead (projectile on his way) and checking health was not working either because I had to detect if he died, so what I did is gived the unit health even if he was dead which fix the issue (because I only needed take dmg for when the entity is dead) but now they were attacking the last location wehre the unit was dead at until it respawn or die again (invisible).
So is that new hook be able to check only if the unit is alive and will I be able to check if unit health is zero with triggering after he die?
Sorry for my extreme broken english.