Hi,
I need help because I'd like to detect of which type an attack was, when a unit got attacked.
The idea behind this to make a kind of mirror shield which should first absorb the damage (done this with a mana shield because it's easy^^) and cast effects and spells depending on the attack type. e.g. if an archer would attack the caster with pierce dmg and with range the shield would cast e.g. a stormbolt on the archer (done by a dummy).
I'd prefer a GUI solution but JASS would do this, too. But I couldn't find a possibility to check the attack type.
Or is it only possible to check the attacktype BEFORE the attack? (well I couldn't find sth. like that, too)
Thx
(Sry I recognized that this forum would suite better for my problem and whatismore my thread in the we help zone can't be seen by others, couldn't find a rule why it doesn't appear and my problem is urgent)
I need help because I'd like to detect of which type an attack was, when a unit got attacked.
The idea behind this to make a kind of mirror shield which should first absorb the damage (done this with a mana shield because it's easy^^) and cast effects and spells depending on the attack type. e.g. if an archer would attack the caster with pierce dmg and with range the shield would cast e.g. a stormbolt on the archer (done by a dummy).
I'd prefer a GUI solution but JASS would do this, too. But I couldn't find a possibility to check the attack type.
Or is it only possible to check the attacktype BEFORE the attack? (well I couldn't find sth. like that, too)
Thx
(Sry I recognized that this forum would suite better for my problem and whatismore my thread in the we help zone can't be seen by others, couldn't find a rule why it doesn't appear and my problem is urgent)