## How does the damage work?

### How does the damage work?

I'm recently peeking my nose into the weapon.xnb for some experiments on melee weapons. Yet I can't figure out how the damage works? I mean, what does 1D6 + 2 means? Can anyone shine some lights on this pls? Thx a lot!

- SpardaSon21
**Posts:**1870**Joined:**Mon Nov 03, 2008 6:24 am

### Re: How does the damage work?

1d6 is the equivalent of rolling a single six-sided die. So its a random number between one and six. The "+2" at the end is a number added to the die roll. So for that formula a random number between one and six is chosen, and then two is added to it.

### Re: How does the damage work?

first is the number of dice rolled, the second number indicates how many sides the dice have and the third number is a constant.

note that not only the range but also the probability distribution differs. for example

1d20 = 1-20

3d6 = 3-18

in the first case the chance to roll a 3 is 1/20, in the second case its 1/6 * 1/6 * 1/6 = 1/216.

so when you design your own weapons keep in mind that big dice lead to big fluctuations while big numbers of smaller dice mostly produce results close to the average damage.

note that not only the range but also the probability distribution differs. for example

1d20 = 1-20

3d6 = 3-18

in the first case the chance to roll a 3 is 1/20, in the second case its 1/6 * 1/6 * 1/6 = 1/216.

so when you design your own weapons keep in mind that big dice lead to big fluctuations while big numbers of smaller dice mostly produce results close to the average damage.

### Re: How does the damage work?

Interesting, thx man.

### Who is online

Users browsing this forum: No registered users and 4 guests