Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I don't think there is one condition to do so. However you can check for abilities (Invulnerable, ...), buffs (Invulnerable, Divine Shield, ...).
You could also use a dummy unit and try if you can order it to cast a spell on a unit. The spell can target everything but vulnerable units (use Channel as base ability). Using JASS the function returns whether the order was succesful.
This would also consider transported units as invulnerable, because they cannot be targeted.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.