Saturday, February 06, 2021

A reroll, or a modifier?

Wargaming rules often use die roll modifiers, usually in the context of a die roll needing to hit some target number. Alternatively, some rules allow a reroll when the first roll fails.

Many rulesets these days are designed around the idea of giving special abilities to troop types. Some troops receive a +1 on their attack roll, e.g. in a bucket of dice mechanisms, while other troops are allowed rerolls. These sound like fun variations, and there might be reasons why on one case a special ability gives a +1, an in another case calls for a reroll, but does it also makes a difference from a statistical point of view?

Rerolls

For the sake of simplicity, let us assume we only roll D6s.

One mechanism might call for a roll, needing a 5+ to succeed. It's fairly obvious the probability for succeeding is 1 in 3 (33.33%). If you get a +1 on your roll, the die would only need a 4 or higher, and the probability increases to 1 in 2 (50%). In general, every +1 on a D6 increases the probability for success by 16.67%, irrespective of the original target number.

How does that change when doing a reroll for a failed first roll? Let's assume our die meets the target number with x (x between 0 and 1) probability. We have to consider 3 cases:

  1. The original die roll succeeds: probability x
  2. The original die roll fails, but the reroll succeeds: probability (1-x), followed by x, or total probability of (1-x)*x
  3. The original die roll fails and the reroll fails: total probability (1-x)*(1-x).

So we score a success with a total probability of x+(1-x)*x = x*(1+1-x) = x*(2-x).

We can continue this calculation by now allowing for another reroll: take the probability for success after 1 reroll, and add the probability of failure multiplied by another basic success, and so on. We could do that type of calculation very easily in a spreadsheet, and this gives us the following table or probabilities. for a D6:

Target number

Basic roll

1 reroll

2 rerolls

3 rerolls

1+

1.00

1.00

1.00

1.00

2+

0.83

0.97

1.00

1.00

3+

0.67

0.89

0.96

0.99

4+

0.50

0.75

0.88

0.94

5+

0.33

0.56

0.70

0.80

6+

0.17

0.31

0.42

0.52

 
It is interesting to realize that these are also the same probabilities for taking the maximum score of a number of dice. Allowing for 2 rerolls is the same as taking the maximum roll of 3 D6’s. After all, it doesn’t matter whether we roll the 3 dice simultaneously, or only after the first one failed etc.

Plotted in a graph, this gives us the following probabilities for reaching a target number (graph made with anydice.com):

 

We can do a calculation for a D10 including several rerolls as well, and this gives us:


Modifiers

The standard +1, +2, +3 modifier are well-known in wargaming. Computing the probability vs a target number is easy enough, we simply shift the probabilities towards higher numbers, as shown in the table below:

Target number

no modifier

+1

+2

+3

1+

1.00

1.00

1.00

1.00

2+

0.83

1.00

1.00

1.00

3+

0.67

0.83

1.00

1.00

4+

0.50

0.67

0.83

1.00

5+

0.33

0.50

0.67

0.83

6+

0.17

0.33

0.50

0.67

In graph format:


Reroll vs Modifier

So we can ask the question whether it does really matter whether we apply a reroll, or rather a modifier. Let’s assume we only allow a single reroll (the most common case). By plotting the reroll probability vs various modifiers, we see that a D6 with a single reroll produces almost the same probability result as a D6+1. Of course, there are some deviations, but overall, the fit is very close.

We can do the same exercise for a D10, and see that a D10+2 fits closest to a D10 with a single reroll.

This is of course not terribly surprising. The real question is whether rerolls or better, or modifiers are better in a wargames?

This heavily depends on the rest of the rules, of course. A single die mechanic is always part of a larger rules framework. Personally, I don’t mind rerolls, and I don’t mind modifiers. But I do mind if both of them are used throughout the same ruleset without any real consistency. Hence, I prefer either modifiers in a ruleset, or rerolls, but not both. I understand modifiers and rerolls are used in the same game to add some “variety”, but probability-wise, this is often not necessary.

Happy wargaming!

13 comments:

  1. I think I mostly prefer modifiers - provided the number of them is small - to re-rolls or rolling several dice and selecting the best - for the following reasons:

    Modifiers are contained in a list of significant factors which can be altered easily by crossing out or addition of new ones in draft.

    Re-rolls take more time.

    Rolling several dice obviously requires more dice (cost), a container so they don't scatter over the battlefield and/or damage the troops and take time to collect and check.

    OTOH, the option of re-rolling up to a number of times equal to the chances in one's favour, but having to accept the last roll, as used Strategos: An American Kriegsspiel, is simple to use and gives the player a decision to make, which could be regarded as representing committing more troops to a stalled attack - "One more charge, boys, and the day is ours!" - with all the attendant risks.

    ReplyDelete
    Replies
    1. Yes rerolls can take many different forms. I also feel rerolls as a mechanic are not as versatile as modifiers, esp when rolling vs a target number. But I can see games designers include rerolls for "variety" and adding more "special abilities" into the mix.

      Delete
  2. I love this blog. This stuff matters in games, and it's so well explained even an unmathematical type like me gets it.

    ReplyDelete
  3. Interesting!

    Personnaly (but that's me) I dislike re-rolls because they take more time, and also they tend to break the narrative (unless a realistic reason explains why a same action happens twice).

    My choice between a modifier, or rolling two (or three) dice at the same time, would also depend on the story. A positive modifier gives a feeling of strength & superiority; rolling two or three dice gives the impression of 2 or 3 very fast blows, or of multiple missiles.

    I know that it has nothing to do with probability...

    ReplyDelete
  4. Very interesting.

    The difference with a re-roll of course is that the decision as to whether to apply the modifier doesn't need to be made until after the first die roll (so it's not the same as rolling two dice together?). Might not need it if you are lucky the first time.

    ReplyDelete
  5. Really enjoying reading through your posts. I'd love to hear your thoughts on your favourite combat systems/mechanics you've come across in games over the years. Cheers, and keep up the great work!

    ReplyDelete
    Replies
    1. Thanks!
      A bit difficult to answer, since combat mechanics do not live in a vacuum, but are connected to other game procedures. But overall, I like mechanics that:
      - involve both players, e.g. an opposed die roll, or a to hit/to save mechanism. Anything that makes both players roll a dice, because it reduces downtime and increases involvement.
      - mechanics that allow players to apply modifiers regarding the status of their own troops to their own die rolls. E.g. cover should be a + on the defender's roll, not a - on the attacker's roll.

      Delete
  6. From mathematical point of view they could be very similar for each other but a lot more is happening usually around there. You use modifiers when unit is in a specific game state - it has cover for example. Re-roll in other hand is a potential mechanic / sink for spend resources like "will/luck/command points" etc. They both have it's own place IMO, even in the same game because of that.

    ReplyDelete
  7. Howdy Professor Dutre' not sure if you are still following this but just in case, in AOS I am trying to decide on a priest. When casting a prayer that requires a 4+ for success I have two choices: the first gets 1 reroll of failed prayers, the second has no rerolls but has +1 to any prayers. What I think I got from your blog is that the priest with the reroll has a 75% chance of success while the second fellow only has a 67% chance, did I get that right?

    ReplyDelete
  8. Dear Phil,
    Your graphs capture the essence of the 'feel' of games with numeric modifiers vs modifiers entirely dependent on rolling numerous dice or re-rolls. I think that this is a big reason for the preference of one style over another; whether one wants some numeric representation of troop quality, morale, condition of the unit, leadership and so forth or to have it represented completely at random. A game with a chance element or a game of dice.

    Unfortunately your values for the re-rolls are not correct. The chance of rolling at least one incidence of a specific outcome remains the probability for that outcome, e.g. 1 in 6 for a six on a six-sided die, 1 in 2 for 3+. This is the same, no matter how many dice I roll or how often I roll them. I am assuming, of course, that the rolls of the dice are unbiased, independent events. Combinations of outcomes are determined by using the product of the probabilities of the individual outcomes. So, rolling 5 or less is 5 in 6 (a 'failure' in this case) followed by rolling a 6 at 1 in 6 (a 'success' in this case) has a probability of 5/6 * 1/6 or 0.1388'. Part of the problem is that you have used x to represent both the number of rolls and the probability of success. Simply changing it to p+(1-p)*x does not work as it ignores independent events.

    Of course, if we roll a six-sided die or a handful of dice an infinite number of times (which, I'll sarcastically bemoan is where many sets of wargame rules seem to be heading), then we can expect to see a 6 in one sixth of the outcomes. This is not the same as getting a '6' the sixth time that I roll an independent, unbiased die.

    The case for modifiers is more linear, since it moves the probabilities to the left or right, as you have noted. Of course, the degree of the shift depends on the weighting of the die (dice) roll in the overall outcome. This can vary in a factors + modifiers + die roll approach due to different weightings of the three elements of the equation.
    Regards, James

    ReplyDelete