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

Best ability for damage detection

Status
Not open for further replies.
Level 7
Joined
Aug 19, 2009
Messages
278
Which is the best buff placer for damage detection? I used GDD system to detect when a attack was made. But to check if the attack hit the target, I am giving a buff placer passive ability to the unit.

1st the GDD will check if the starting of the attack and then the trigger will check if the unit hit has a buff or not. If the attack actually hit the target or was canceled in the animation.

I am planing to put this passive on all my heroes with different names and different debuffs.

I had used envenom ability and poison(stacking) and posion(non stacking) as the buff placers before. But I am asking is there a better ability to do the work? Cause all my heroes will have a different version of this ability and the buff placer and I am unsure how this works properly.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
The damage detection system runs when damage is dealt, not when a unit commences an attack.
This would imply that it fires when the unit has already completed his attack animation (and thus the attack cannot be cancelled anymore).

I don't see the need for a buff to check when an attack is successful or not when you're already using a damage detection system (which does exactly that).
 
Level 7
Joined
Aug 19, 2009
Messages
278
The damage detection system runs when damage is dealt, not when a unit commences an attack.
This would imply that it fires when the unit has already completed his attack animation (and thus the attack cannot be cancelled anymore).

I don't see the need for a buff to check when an attack is successful or not when you're already using a damage detection system (which does exactly that).

Ok I guess you are right while testing it in map. But, a buff placer is needed for another reason.
"A common problem when using any damage detection system occurs when you try to cause the damage source to damage the damaged unit from a damage event - for example, if triggering bonus damage. This causes the unit to repeatedly damage the target, because dealing damage in the trigger causes that trigger to run again, and again in turn, infinitely."

The extra damage wont have an buff placer. So it wont form an infinite loop and keep on damaging.
 
Level 7
Joined
Aug 19, 2009
Messages
278
umm in a damage detection system theres an option to either set a boolean or turn off the trigger then damage the unit then turn it back on or change the boolean back.

I can switch this trigger off too. But I kind of like the idea of a buff placer. Having a buff placer will cause any problem?

Ya another thing my system cannot differentiate between melee attacks and spells. So I guess a buff placer will be really needed.
 
Level 7
Joined
Aug 19, 2009
Messages
278
i wouldnt use a buff placer. use one of the damage detection systems from here. they are already fixed from bugs. there is one that detects spell / normal attacks.

Can you link that one? Some of the damage detection systems i saw while searching in google wear overly complicated. This one has made its way into some of my maps triggers so I don't wish to change it though.

Anyway what would be the best buff placer anyway to use?
 
Status
Not open for further replies.
Top