• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

replace skill

Status
Not open for further replies.

wutrus

W

wutrus

hi, can two criticals trigger at once? also how can i replace an attacking units ability with another one, but only as long as he is attacking a certain other unit?
 
Two criticals can not trigger at once, their chances however can roll both at the same time. Basically if one chance to crit fails, the next one will roll and so one. Many people fail to realise this in maps as it can be majorly abused to give 75% crit chances.

Basically having 6 items with 15% crit each and a 25% crit from a main ability gives you a 72% chance to roll a critical strike. The multipliers do not stack in any way and so the multiplyer used is whichever roll procs.

While I am at it, evasion does not stack in any way and always the largest evasion ability will take the rolls for an evasion (as if it was the only one).

As for your second question, add the ability to the unit and then detect when it attacks the unit. As soon as it attacks a different unit (starts to attack), you remove the ability.
 
Status
Not open for further replies.
Back
Top