HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Damage Calculation

11-06-2005, 06:09 PM#1
BoterhaM
Ever wondered how the damage of the units are calculated? It might look hard for beginners, but in fact it's a very easy formula:

Let's say we take a Rifleman. He deals, without upgrades, 18-24 damage, let's call it A-B, A=18 and B=24.

To calculate A, you have to do the following:
A= Damage base + damage number of dice. If you look in the Warcraft 3 editor you'll see the following:

Combat - Attack 1 - Damage base (for ease I'll call it DB): 16
Combat - Attack 1 - Damage number of dice (DnoD): 2
Combat - Attack 1 - Damage sides per die (DspD): 4

This is how "A" is calculated:
A= Db+DnoD = 16 + 2 = 18 damage

To calculate "B", you have to do this:
B= Db+DnoD x Dspd;
DnoD x DspD means 2 x 4 = 8, and remember the Db is NOT 18 but 16, so "B" will become: 16 + 8 = 24.

There you have it, the way how to calculate damage, oh and if you want to have units deal damage like 40-40 or 50-50, whatever, enter this:

Db= 39
Dnof= 1
Dspd= 1, this will mean "A"= 39+1, and B= 39+1x1 = 40-40

- BoterhaM
02-10-2006, 08:54 AM#2
Jacek
Could prove useful for people who never played D&D RPGs.
02-10-2006, 12:02 PM#3
niv
wow i really needed this
04-05-2006, 11:35 PM#4
Ignitedstar
It would be easier to use single-letter variables then series, because my opinion, it looks strange.

But, it's a simple tutorial. I used to get confused on how the damage works all the time. AND I still do. T.T
04-06-2006, 08:01 PM#5
Mordiggian
I never though it would be issue for someone. Maybe because pnp rpgs have always been familiar to me and thus this dice thingie feels familiar :) But it's always good that things are written down.

Only thing is that (what was already said) use single letter variables here.
04-18-2006, 05:22 AM#6
kaldoreielf
Excellent Tut!! I really needed this, thanks alot (+rep) the only problem is the DnsP and all that; it gets confusing...
04-18-2006, 10:30 AM#7
Earth-Fury
Quote:
Originally Posted by kaldoreielf
Excellent Tut!! I really needed this, thanks alot (+rep) the only problem is the DnsP and all that; it gets confusing...

Think of it this way...

You have a base damage of 10.
You roll 1 die that has 6 sides. (a single dice is a die)

The damage will be 11-16, because 1 is the lowest a dice goas, 10 becomes 11. 6 is the max the dice can go, so 10 + 6 = 16.
04-23-2006, 05:46 AM#8
Ignitedstar
Earth Fury, lemme try:

Okay...

Damage Base = 33
Damage Number of Dice = 2
Damage Sides per Dice = 6

This is what I'm gonna call a unit's attack damage: X - Y damage (Ex: 14 - 17 damage)

X would be:

Damage Base + Damage Number of Dice = X, or
33 + 2 = X
35 = X

Then Y would be:

Damage Base + (Damage Number of Dice x Damage Sides per Dice) = Y, or
33 + (2 x 6) = Y
45 = Y

So then, my unit's attack damage would be 35-45?
04-23-2006, 07:03 AM#9
kaldoreielf
No, I meant it gets confusing, the words not the formula; I mean, why didn't you just use the words instead 0_o oh well its only confusing imo
03-25-2007, 04:18 AM#10
djdeth
But what about splash damage? This doesnt explain about the area of which a unit is hit in splash attacks.
03-25-2007, 12:18 PM#11
Callahan
splash damage is self explanatory.
08-23-2007, 08:13 AM#13
Dokken
Thanks, I found this guide very helpful. I never understood what the damage dice was used for before I read this.
12-30-2007, 06:49 AM#14
cwj5050
thanks for the tip
03-20-2008, 08:15 PM#15
Biollante spawn
how do you make a unit do 1-1 damage then??