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

[General] Damage question

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
605
If à unit has 1-100 damage, Will it deal random damage between or Will it deal around 50 damage?

Because when testing it looks like it deals around the same damage all the time, maybe just à coincidense?
 
Not exactly random.

Let's say you have a base damage of 10.
Now, you have 6 faces to your dice, and each face of the dice deal 2*Number of the side.

The damages will be from 10+2*1 to 10+2*6 : 12-22

It won't be a random number between 12 and 22, but it will do a random face of the dice.

So, it might be those : 12-14-16-18-20-22, and not 12-13-14-15-16-17-18-19-20-21-22 (the damages it can deal).
 
Status
Not open for further replies.
Top