- Joined
- Dec 29, 2008

- Messages
- 3,361

# Reverse Damage Calculator

### by supertoinkz

**Description:**I saw many damage calculators where they calculate the Damage Base, Damage Number of Dice, and Damage Sides per die. But I never saw any calculator in the reverse mode (wherein it calculates the minimum and maximum damage to find the Base, Number of Dice, and Sides per die. This tutorial will teach us or you to calculate damage in the reverse mode. This is useful when you found a good game with good units that you want to exactly copy it. I personally used it with my upcoming map, Warcraft 2.

**Hangin' with the Tutorial:**Before we start, you should learn the legends and abbreviations I used.

B - Damage Base

N - Number of Dice

S - Sides per Die

Min - Minimum

Max - Maximum

__Needed:__Simple Math Knowledge

World Editor

**Getting Started:**So, let's find a good unit.............I used footman\grunt from warcraft 2.The footman\grunt has a min damage of 2 and max damage of 9. So what will we do?

First, let's calculate the min damage. Think of 2 numbers when added the sum will be 2:

Possible Equations

1 + 1 = 2

1.5+ 0.5 = 2

The first number would be the B and the second number would be N.

Let us use the the first equation (Because wc3 doesn't use real numbers on those fields).

Now we had the minimum damage calculated right? Let us calculate the maximum damage. Here's the formula

Max Damage Formula(B + (S * N))

Equation according to our Min Damage results(1 + (S * 1))

My results(1 + (8 * 1))

That's it! Congratulations! Before I end, we need to check if our B,S,N is correct. Here's our result:

The BSN of our exampleFootman\Grunt

Min-Max damage : 2-9

Damage Base (B): 1

Number of dice (N): 1

Sides per die (S): 8

**Checking:**The formulas are:

**Min damage:**(B + N)

**Max damage:**(B + (S * N))

so....

**Min damage:**(1 + 1) = 2

**Max damage:**(1 + (8 * 1)) = 9

__My other results:__**Warcraft 2**

Archer\Axethrower (3-9): B2, N1, S7

Ballista\Catapult (25-80): B24, N1, S56

Knight\Ogre (2-12): B1, N1, S11

Mage\Deathknight (5-9): B3, N2, S3

Grypon\Dragon (8-16): B6, N2, S5

Destroyer (2-35): B1, N1, S34

Submarine\Turtle (10-50): B8, N2, S21

Battleship\Juggernaught (50-130): B48, N2, S41

__Author's Note:__Do not distribute without my permission.

Maximum Damage Base: 100000

Maximum Damage per Number of Dice: 100

Maximum Damage Sides per Die: 100

__Changelogs:__None ATM

Last edited: