Alright, for a map I am currently helping with I am making a projectile type system to replace the standard crappy WC3 attack system. So It is based on a generic unit takes damage event, but I hit a bit of an issue. I need it to instantly refund the damage taken to the unit taking the damage, but the event "Unit Takes Damage" seems to be firing just BEFORE the life is actually taken away, which effectively cancels out the refund of life I am attempting to give.
Does anyone know a way around this? |