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

Spell Crit Function - Help

Status
Not open for further replies.
Level 2
Joined
Oct 2, 2006
Messages
4
Here is what i want to do to try to create a "Spell Crit" in Wc3.
W/e <unit> cast <spell>
Random Choose 1 from 1-5
1-Nothing
2-Nothing
3-Nothing
4-Deal X damage to triggering units spell target.
5-Nothing
Where the trigger would randomly choose a vairiable from 1 - 5 and do what the variable it randomed says to do. So 1-3 and 5 would do nothing and 4 would be the crit.

Help with actually doing this?
 
Status
Not open for further replies.
Top