# Questions tagged [anydice]

For questions about AnyDice.com, a dice probability calculator that offers probability curves for defined rolls, along with a function library for more complex calculations.

201 questions
Filter by
Sorted by
Tagged with
565 views

### How can I calculate the probability of being able to purchase a card in my custom die system?

I'm trying to work out the Probability of reaching a total with a custom die system. Each die in this system has 6 sides: 1 Sword, 2 Sword, 3 Sword, Political, Castle, and Wizard. Each player starts ...
2k views

### Are there anydice function(s) or code for Savage Worlds rolls?

I am trying to use the exploding function and the highest of functions, but I am having issues with the skill die or wild die side of the roll. If I do output [highest 1 of 1d4 + 1d6] I get a ...
• 309
791 views

### Modelling rolling for stats in Anydice

I'm playing around with character generation in a purposefully punishing roguelike-inspired D&D homebrew, and trying to evaluate them using Anydice so that each method is roughly comparable. The ...
• 53
642 views

### Why is Anydice giving me a larger result than expected?

In the wonderful anydice program I created a simulation of the rolls and damage of my level 1 Rogue character in 5e DnD against an enemy of AC of 16. My maximum damage should be 25 (6 from sneak ...
• 141
1k views

### Implementing multiattack in AnyDice

I am trying to set up a multiattack function in AnyDice. I already have a function that calculates the damage dealt by a single attack, but now I want to calculate the total damage dealt by multiple ...
• 2,200
441 views

### Help with Anydice function for 3d10 dice pool

I'd like to see the probability distribution for 3d10 being rolled, where the highest number is positive, the lowest (closest to 1) is negative, and the middle die is ignored. (As a way of providing "...
• 21
4k views

### How can I get the highest two die rolls from a mixed pool in AnyDice?

Let's say the rulebook says this: Roll one 4-sided die, two 6-sided dice, and one 10-sided die. Add the highest two rolls together. In a different environment, I might write something like this: ...
• 17k
1k views

### Anydice probabilities that allow for addition or subtraction of one die from another

I'm new to anydice, so forgive me if I've overlooked something obvious, but I can't seem to figure this one out. I'm working on a dice mechanic that allows the player to choose whether or not they ...
624 views

### Help with probability for a complicated dice pool mechanic

I'm putting together a system with experimental dice mechanics. I want to know the probabilities involved, preferably in a way such as anyDice where I can easily change all variables and get the ...
1k views

### How do I get AnyDice to parse 1d2d4 the way I want it to?

The statement 1d2d4 is ambiguous. I might mean (1d2)d4, which is what AnyDice guesses by default, but I also might mean 1d(2d4). It makes sense that the default behavior is as it is because Order of ...
1k views

### AnyDice function to use a die as high/low flip and critical

I've been developing a homebrew system that utilizes 3d12 and I've been wanting to get the probabilities plotted so I could, for one, see how viable such a system would work and, two, be able to work ...
2k views

### Syntax for a unique dice system on Anydice?

I've been studying and toying with a lot of odd dice systems for a while now, and Anydice has been a great help in understanding the probability effects of different systems. However, I've run into ...
• 113
520 views

### Homebrew system need help with probability in any dice

I am not much of a programmer. While I have figured out how to do basic things with anydice, I am having trouble figuring out the least probability of successes needed for a difficulty number from 2-...
1 vote
155 views

### Non-integral variables in AnyDice [closed]

Is there a way to have non-integer variables in AnyDice? (E.g. for each level of critical I need to hit by at least 5.5: first critical level needs 6, second 11, third 17, fourth 23, etc.)
• 11
2k views

### Odds for dice pool with exploding dice

I'm designing a tabletop game with dice pool mechanic for combat resolution. You roll some d6 and each die that rolled at least 3 counts as a SUCCESS: If you roll more 1s than 6s, it's a fumble One ...
• 83
747 views

### Are my AnyDice calculations for the Old World Of Darkness correct?

Here is the average amount of successes you can get from a given dicepool (left column) and given difficulty (upper row). Are the forumulas correct? Here is my program on AnyDice.com. Are there any ...
5k views

### How many rolls does it take to get to six coins?

I'm designing a microRPG and need some help calculating probabilities so I can make an informed decision about how many coins to start with (controlling session duration and early-game frustration). ...
• 53.2k
4k views

### How does replacing Advantage with a flat +2 affect Champion critical hit damage output?

My DM does not like Advantage/Disadvantage. While I disagree with his reasons on this, he has decided to replace it with a +2/-2 rule and I respect him (mostly) enough to follow his rules. I recently ...
• 3,516
3k views

I'm trying to think of the answer to a certain problem, but I'm finding it hard to calculate. How much of a statistical edge do you have in a scenario where all of the following are true? You engage ...
303 views

### What is incorrect with my Anydice logic for 'Weapons of the Gods' roll mechanics?

While scouting Actual Play write-ups, I have encountered a reference for an interesting dice-rolling mechanic. For a test, players roll a pool (3-7) of d10 (but 0..9 not 1..10). The value coming ...
• 1,531
2k views

### How can I get the highest or lowest values of an irregular dice pool in AnyDice?

I want to calculate irregular dice pools, such as (2d10, 1d8) in AnyDice, but I'm having difficulties. What I mean to do is out of a roll of 2d10 and a 1d8, take the highest (or lowest) two values ...
• 101
1k views

### How to compare hit % and damage between 1 attack vs 4 attacks with disadvantage?

Quite a few scenarios here, wish my AnyDice fu were up to par—if it's too much, no need to cover all of them, just the most representative, so I can figure out the rest. For the given character ...
• 13.3k
3k views

### AnyDice functions and subsequent dice rolls

I've just discovered AnyDice and I'm trying to use it to model a simple problem and failing miserably. That usually means there is some basic concept I'm not understanding. First, the problem. I just ...
• 33
2k views

### Compare die pool probabilities in AnyDice

I'd like to evaluate the win percentage when 3d6 keep the highest 2 [add them together] compares to 5d6 keep highest 2. The function in AnyDice would hopefully be able to modified to compare any d6 ...
• 23
686 views

### How do I alter a sequence element in Anydice?

I have a sequence storing a variety of stats for a unit which will be put through a probabilistic gauntlet. Because the gauntlet is multi-step and I want to know when the unit's hp reaches 0, I need ...
976 views

### How to calculate probabilities for a three pool elimination mechanic?

I've been struggling to get my head around this dice pool mechanic either in anydice or even a bespoke program. There are 3 pools of d6, call them A, B & C: ...
• 206k
810 views

### Help with AnyDice Script for a d6 Dice Pool

I need a script for AnyDice to generate some averages for me. I want to know the average d6 roll for: 1 die of a pool of 1 (which I know approaches 3.5) highest 1 die of a pool of 2 dice highest 1 ...
1 vote
584 views

### Help calculating opposing dice pool in AnyDice

I need to calculate the probability of A winning against B. Both A and B throw 1-15 d6s, the one with more successful dice (SD) wins. There are actually 5 possibles outcomes: ...
4k views

### How should I emulate the highest in an irregular dice pool in AnyDice?

Basically, I'm trying to do something like [highest 1 of {a pool of Xd4, Yd6, Zd8, etc, all together}] For example:I roll 1d4 and 1d6 and 1d8; their results are, respectively, 4(out of 4 max), 5(out ...
• 2,244
2k views

### Is it possible to model this die with anydice?

In anydice, I'd like to create a die, so that a roll would be the sum of 4 random values from the following sequence: {1, 1, 1, 1, 1, 3, 3, 3, 5, 5, 7} So that ...
2k views

### AnyDice Help: ORE-Like Resolution

I am looking for help with creating an AnyDice program that can calculate the possibilities of the following mechanic. Players roll a number of d6, then proceed to sum all dice of a single set of ...
2k views

### Modelling an opposed dice pool mechanic in AnyDice

I humbly request an AnyDice program for this mechanic: The attacker (A) rolls a number of d6 based on his parameters. The defender (D) rolls a number of d6 based on his parameters. The highest die ...
• 71
2k views

### How to model a dice pool with re-rolls mechanic? [closed]

I have a dice mechanic where players roll a number of D10s and have a different number of re-rolls they can use to maximize the total. For example: The player has 3D10 and 2 re-rolls. They roll 9,6,3 ...
• 141
4k views

### Help Writing an AnyDice Function for a Weird Dice Mechanic

I've thought of a dice mechanic that I'd like to test the numbers for, but it's complicated enough that I don't know how to model it in AnyDice. It's sort of a modified dice pool, where the successes ...
259 views

### Is there a paper/manuscript explaining the theory behind AnyDice? [closed]

I am using the AnyDice website to calculate probabilities on any number of dice with any arbitrary number of sides. May I please have a link to a formal discussion of this very elegant subject?
• 21
2k views

### Dice probabilities when rolling more dice than needed

I have a very similar question to Using AnyDice to determine the odds of getting a specific number sequence on multiple dice I want to know the odds of rolling a 1,2,3 out of 4d6. Or getting a 3 and ...
1k views

### How do I find the highest number rolled in a pool if dice, and the number of times it is rolled using AnyDice?

I am learning the basics of AnyDice, and have seen it used to accomplish some rather complex algorithms. I'm running into a very rudimentary problem. Say I want to roll a pool of five ten-sided dice, ...
4k views

### How can I execute code depending on a die value in AnyDice?

I'd like to be able to have a conditional test the value of a die or set of dice. Here's a simple example using a d6, but I'm looking for a way to check values of arbitrary dice sets. ...
• 99
7k views

### Using AnyDice to determine the odds of getting a specific number sequence on multiple dice

After a few hours trying to design the proper code in AnyDice, I had to admit I didn't find a proper way to reach my goal, so I'm wondering if someone could give me a helping hand. Here is the ...
• 91
2k views

### Help Calculating Dice Odds for a Unique d6 Dice Pool

I'm attempting to design a unique d6 dice pool system, and I want to try programming the probabilities in AnyDice but I'm not sure how. Here's how the system works: Dice pools are between 2 and 10 ...
• 63
4k views

### Incorporating expanded crit-range into anydice?

Not sure if this is a valid "tools" question, but here goes: I want to compare a build that can attack 5 times, with a 5% critical chance; to a build that can attack 3 times, but with a 15% critical ...
• 13.3k
671 views

### What is the average outcome of this opposed roll resolution mechanic?

Trying to work out the average number of successes for an opposed roll using the following system but can't quite seem to get it to work in Anydice Roll (3d6-5)+Stat+Skill+Modifier 3 6s = crit, ...
• 61
813 views

### Complicated Homemade Game dice odds, AnyDice or Troll formula help required

I'm playing a home made game, and it uses a slightly complicated system with regards to training. It works rolling 1d10+bonuses against a variable target number, minus "headway". Headway is gained ...
• 69
913 views

### Probabilities using 3d10 as 1d1000 [duplicate]

I'm trying to use anydice to figure out the probabilities of the various values of 1d1000 rolled on 3d10. I want to know stuff like "what's the chance of rolling 900 or higher? How about 950 or ...
• 71
9k views

### How can I use AnyDice to check counting-success probabilities?

Sorry for asking a "do the work for me" type question, but I'm looking at the AnyDice documentation and appear to be missing something. I'm hoping to not just get the question answered, but learn how ...
• 21.8k
2k views

### How do you calculate the odds of success for an ability contest

I'm having a hard time understanding how to figure out the odds of success from an ability contest. I originally thought that each +1 would be 5% but anydice suggests 4% but only after a +1 ...
• 32.6k
566 views

### Odds of Tzeentch's Curse in Mass Battles port

Mass Battles is often casually considered an easy mechanic of Savage Worlds to port to other systems. I'm finding it easily so, save some edge cases. I like the idea in Mass Battles of heroes running ...
• 4,139
3k views

### How do I use AnyDice with Classic World of Darkness / 20th Anniversary?

How can I take advantage of AnyDice with 20th Anniversary rules? I'm new to AnyDice but very interested in using it. I would like a wrapper function that accepts the following params. the number of ...
• 805
3k views

### How can I examine the distribution of successes-counting mixed dice pools?

After looking at AnyDice's Documentation and Function Library, I remain baffled. I know that AnyDice can do this, but I don't know how to tell it to. Scott Gray's Dice Pool Generator is easier to use ...
• 190k