Warcraft III resources & community, 2003–2006 · archived

Damage type detection?

3 posts
#1

Damage type detection?

I've made a spell like antimagic shell but blocks only phisical damage. I've made it with lots of triggering. Is there a way to detect what type of damage unit receives (phisical or magic) via JASS? If this is possible i could remake the spell with few lines in JASS.
Thanks in advance.
#2
Cant u just change ur spell to text and then u can c how it is done with JASS?
#3

Re: Damage type detection?

morsilaIs there a way to detect what type of damage unit receives (phisical or magic) via JASS?
Thanks in advance.

It is impossible to detect which damage type was used when registering damage. This was one of Vexorian's prime wishes.