Damaging invulnerable targets

Status
Not open for further replies.
Invulnerable units can take damage, they can receive buffs and suffer from buff effects. However an invulnerable unit has equivently 100% damage reduction for all kinds of damage and so can never be killed by having damage delt to it. Dealing damage to an invulnerable unit is a waste of computer recources as it is as useful as "call DoNothing()".
 
i think he is trying to detect the invulnerability for a reason, else he just would have damaged the unit and be done with it

anyhow, the buff check seems to be the most effective one, but if they are invulnerable by the ability "Invulnerable (Neutral)" you can just check if the unit has the ability :P

and if you have added invulnerability by a trigger, just give it the "Invulnerable (Neutral)"
 
Status
Not open for further replies.
Back
Top