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