• 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.

A question about Damage Detection.

Status
Not open for further replies.
Level 25
Joined
Jul 10, 2006
Messages
3,315

SpasMaster

Hosted Project: SC
Level 24
Joined
Jan 29, 2010
Messages
1,986
Yes, but you'll have to set all non-basic damage the unit deals (e.g. spells) to 0, and trigger their damage.

If the system you linked is anything like http://www.hiveworkshop.com/forums/...=search=damage%20type%20detection&d=list&r=20 it should be possible:
DamageEvent Equal to 1.00; use for the basic attack
DamageEvent Equal to 2.00; zero-damage detection, use for spells

Can you perhaps edit the system you linked to detect attacks only?

I would be really helpful!
 
wouldn't that event also run for a basic attack that deals 0.0 damage (like if the armor type is immune to the attack type)?

anyway, another way is to use a buff-placer effect based from poison arrows with 0.01 duration, if the unit has the buff when the damage event is run, then its a normal attack, you can also remove the buff during the actions to ensure that it will only trigger for the normal attack at the time... also this way, you can still use the normal damage method of the spells on the OE... :)
 
I believe there is a poison arrow passive that actually is not considered as orb effect... the one used by Venomancer's poison sting... it has a stacking field on the OE...

anyway, you could always trigger the other orbs... which in this case also needs to utilize the "normal" attack detection capability of the said method...
 
Status
Not open for further replies.
Top