hi guys, im trying to create a spell similiar to storm bolt.
it deals damage equal to casting hero's strength but it can also miss, depending on targetunit's agility and casting hero's agility.
Example:
Targetunit's agility: 30, casting hero's agi: 20, gives a 10% chance to miss.
So basically its targetunits's agi - casting hero's agi as a percentage.
BUT!!!!!!!!
If casting hero's agility is MORE than targetunit's, it has a chance to deal critical damage!
So if casting hero's agility: 30 and targetunit's agility: 20, it has a 10% chance to deal critical damage (like twice the original damage).
is this possible, and if so, is it possible with triggers? Id appreciate some help XD
it deals damage equal to casting hero's strength but it can also miss, depending on targetunit's agility and casting hero's agility.
Example:
Targetunit's agility: 30, casting hero's agi: 20, gives a 10% chance to miss.
So basically its targetunits's agi - casting hero's agi as a percentage.
BUT!!!!!!!!
If casting hero's agility is MORE than targetunit's, it has a chance to deal critical damage!
So if casting hero's agility: 30 and targetunit's agility: 20, it has a 10% chance to deal critical damage (like twice the original damage).
is this possible, and if so, is it possible with triggers? Id appreciate some help XD