Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Combat Dice Equation
Combat Dice Equation
11-22-2003, 05:17 AM
#1
Iceybro
I'm pretty sure this has been asked many times before, but exactly what is the little equation in which the Attack Damage(ex.8-11) of a unit is created?
11-22-2003, 05:28 AM
#2
FerretDruid
(Base Damage + Number of Dice) - (Base Damage + (Number of Dice x Number of Sides))
11-22-2003, 05:49 AM
#3
Iceybro
Thanks
11-22-2003, 08:12 AM
#4
Captain Griffen
The above formula is wrong,
It is:
base damage + (number of die x random number up to the number of sides on the die)
It might have different random numbers for each die, dunno, but the 8-11 is just the min damage to max damage.
11-22-2003, 08:32 AM
#5
FerretDruid
It's not wrong.
The random number is just something obvious that I left out of the equation.
Base damage 16.
Number of Dice 4.
Number of Sides 5.
16 + 4 = 20
16 + (4 x 5) = 36
20 - 36 damage.