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!
Hello guys any ideas how to make the 3rd basic attack of a unit will do a critical strike instead? Of course Damage Engine is needed here but, is it possible to force the attack into a critical instead?
Somewhat like creating a critical strike ability with 100% chance, count the number of unit's attack, then if the unit attack the enemy 2nd times, add that ability then removed it after the unit attacked it 3rd times.
Hello guys any ideas how to make the 3rd basic attack of a unit will do a critical strike instead? Of course Damage Engine is needed here but, is it possible to force the attack into a critical instead?
detect damage, add one to a real variable, when it reaches 3 give the unit a custom crit ability with 100% crit, then if it deals damage again, set the variable to 0 and remove the ability. If you don't get it I can make it for you, but this should be pretty straight forward
EDIT: you might want to make it for all the colors or it will bug when there are multiple of the same hero, if this is a melee based map
Change ThirdAuto to an integer.
What's this? (DamageEventSource has buff 3rd auto crits (buff)) Equal to True
The if runs on 1, 4, 7, etc. Make it compatible with 3(n-1)+x.
Change ThirdAuto to an integer.
What's this? (DamageEventSource has buff 3rd auto crits (buff)) Equal to True
The if runs on 1, 4, 7, etc. Make it compatible with 3(n-1)+x.
First attack, fourth attack, etc. That's what I mean. That means the second attack will be critical, third and fourth are not, fifth is critical, and so on (1+1, 4+1, 7+1).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.