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

Retaliation Proc

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,266
This may be simple, but I can't brain today, I have the dumb.

Anyway, I need an ability that has a chance to hit a unit twice in a row, basically like an instant retaliation. If it works to where my unit hits an enemy and then hits it again instantly that would be great. I would also be happy with one that hits an enemy instantly after my unit is hit so it 'retaliates' Basically I just want something that wouldn't screw up the attack cooldown but still show the attack animation and deal damage.

Hopefully that makes sense. Let me know if any of you talented folks can think of anything. Thanks
 
you can trigger this pretty easily.

something like this should work
event
...unit is attacked
conditions
...the unit u want to retaliate
actions
...set tempInt = random integer between 1, 100
...if tempInt less than or equal to 15 // this will give it 15 percent chance
...then
......cause retailiating unit to deal set damage to triggering unit.
...else
 
Level 14
Joined
Nov 17, 2010
Messages
1,266
Damaging them is not the problem, I also want the attack animation to play as if their attack speed was increased for just one attack.
 
Status
Not open for further replies.
Top