Yes, that works just fine. The Zealot in the video I posted previously uses a behavior with charges that are consumed when attacking.
Here's what my damage response looks like: imgur link
I chose to apply a damage effect whenever the damage response is triggered but this could of course be changed to whatever suits your needs. Simply using the Modify Amount field should yield similar results.
I've also set the Target Filters for the damage response to only include Enemy targets, meaning that attacking allied or neutral units will not consume charges.
Yes, it is possible to set both cooldown and available charges of the behavior.
Set the field "Damage Response - Cooldown - Time Use" to your desired cooldown, in game seconds of course.
Remember that the field "Damage Response - Cooldown - Link" must be set to the correct behavior id.
I conducted a small experiment to show how it works:
Picture of my Death Prevention behavior: imgur link
"Killing" the Tauren before the behavior is cooled down or if the damage response is triggered more than 3 times is fatal, otherwise the Tauren will only become Incapacitated.
The Zealot applies a behavior with Damage Response - Charge - Count (Max) and Damage Response - Charge - Count (Start) set to 3, Damage Response - Charge - Count (Use) to 1 and then applies a Damage effect whenever the buffed unit attacks an enemy.
0
Yes, that works just fine. The Zealot in the video I posted previously uses a behavior with charges that are consumed when attacking.
Here's what my damage response looks like: imgur link
I chose to apply a damage effect whenever the damage response is triggered but this could of course be changed to whatever suits your needs. Simply using the Modify Amount field should yield similar results.
I've also set the Target Filters for the damage response to only include Enemy targets, meaning that attacking allied or neutral units will not consume charges.
0
Yes, it is possible to set both cooldown and available charges of the behavior. Set the field "Damage Response - Cooldown - Time Use" to your desired cooldown, in game seconds of course. Remember that the field "Damage Response - Cooldown - Link" must be set to the correct behavior id.
I conducted a small experiment to show how it works:
Picture of my Death Prevention behavior: imgur link
"Killing" the Tauren before the behavior is cooled down or if the damage response is triggered more than 3 times is fatal, otherwise the Tauren will only become Incapacitated.
The Zealot applies a behavior with Damage Response - Charge - Count (Max) and Damage Response - Charge - Count (Start) set to 3, Damage Response - Charge - Count (Use) to 1 and then applies a Damage effect whenever the buffed unit attacks an enemy.