• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Detecting Attack Type (Pierce, Magic, ...) of Attacking Unit

Status
Not open for further replies.
Level 1
Joined
Aug 25, 2010
Messages
4
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
 
Status
Not open for further replies.
Top