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

Hero Damage system

Level 16
Joined
Jan 17, 2006
Messages
366
I thought it would be important for some of the "newer ones" to know how to calculate the damage done by a hero. For a passive aoe-damage on Atacks for example.

First we need the mainattribute (Agility for this tutorial) here i'll call it just MA.
Next we have to look on the Dice-Values in the Object-Editor. Sides per Dice lets call them Frank... just kidding. SD would be easier to understand.
Well Last important value is Number of Dice (ND)
One thing to add. We need a Random number. its the RND() part.
Well in the end all the stupid Talking looks like this: MA+(ND*RND(1 to SD))


For everyone who reads this and think it is some waste of time: "Sorry for wasting your time."
 
Top