HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

damage while invulnerable?

06-09-2006, 01:40 AM#1
darkwulfv
Can a unit be damaged by triggered damage while it's invulnerable?
06-09-2006, 01:47 AM#2
Naakaloh
http://jass.sourceforge.net/doc/api/...magetype.shtml

DAMAGE_TYPE_UNKNOWN

Edit: That should do it, but unless I'm mistaken, it ignores armor.
06-09-2006, 03:14 AM#3
Vexorian
If not you 'd have to block damage done to the unit with triggers unless you want the unit to take damage according to the detected circunstances
06-09-2006, 03:50 AM#4
darkwulfv
I'd like the unit to take damage while invulnerable, both done wit triggers.
06-09-2006, 07:35 AM#5
Captain Griffen
If the other damage thing suggested doesn't work, then if you know that the unit is invulnerable, why not make it vulnerable, do damage, make invulnerable again?

If you don't know if the unit is or not, just do the damage, see if it has done it, then if not, make vulnerable, damage, invulnerable.