Hi folks!
I'm currently trying to make some item ability abuses impossible in a WIP map...
What I need is a consitional check to see what kind of damage a unit is dealt (spells, magic, hero, siege...) to prevent a certain ability (event - triggering unit receives damage) to trigger from the unit being hit by a spell.
Usually I wouldn't mind that much, but there are some spells in the map that deal damage in aoe and that in very short intervalls (meaning every 0.1 seconds). Thus, I want to exclude those spells from triggering the item's effect (a dummy unit casting a shockwave).
Does anybody know a function/system to achieve this? I don't mind it being GUI or JASS (no vJASS though), but I need it GUI.
The usual +rep and credits for help.
If it's impossible I must change back to the abusable 'event - a unit is being attacked' event
I'm currently trying to make some item ability abuses impossible in a WIP map...
What I need is a consitional check to see what kind of damage a unit is dealt (spells, magic, hero, siege...) to prevent a certain ability (event - triggering unit receives damage) to trigger from the unit being hit by a spell.
Usually I wouldn't mind that much, but there are some spells in the map that deal damage in aoe and that in very short intervalls (meaning every 0.1 seconds). Thus, I want to exclude those spells from triggering the item's effect (a dummy unit casting a shockwave).
Does anybody know a function/system to achieve this? I don't mind it being GUI or JASS (no vJASS though), but I need it GUI.
The usual +rep and credits for help.
If it's impossible I must change back to the abusable 'event - a unit is being attacked' event