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.

Filter by
Sorted by
Tagged with
5
votes
3answers
334 views

How can I calculate the difference between two rolls in AnyDice?

How do I calculate the following in AnyDice? 2d6, subtract lowest result from highest.
1
vote
1answer
79 views

How can I model the probabilities for highest and lowest of opposing dice pools?

This is a variation of a dice mechanic I'm working on. You create a d6 pool of Edge dice and Snag dice and roll all of them. Compare the highest Edge die and the highest Snag die. If the Edge die ...
6
votes
3answers
887 views

How can I calculate the sum of 2 random dice out of a 3d6 pool in AnyDice?

With AnyDice it's pretty easy to calculate probalities for highest and lowest 2 of a 3d6 pool, namely with: output [highest 2 of 3d6] output [lowest 2 of 3d6] ...
4
votes
1answer
107 views

How can I model the probabilities for this mechanic involving cancelling out dice pools in AnyDice?

So I'm struggling with the probabilities for a dice mechanic. You create a d6 pool of Edge dice and Snag dice and roll all of them. Each Snag die cancels an Edge die of a lower value. After ...
1
vote
1answer
51 views

How can I calculate the probability of complete success with this mixed dice pool using AnyDice?

I've playing around with dice probabilities and have a spreadsheet that handles the calculation for basic probabilities rolling a set of dice and counting the number of successes. I am completely new ...
5
votes
2answers
159 views

AnyDice: How to calculate the winner in opposed rolls over multiple rounds?

I am having some difficulty doing opposed rolls over multiple rounds. I am looking for a character vs. character statistics. I call them "Rookie" and "Enemy" respectively. I want to know what the ...
2
votes
1answer
73 views

How do I find the odds in a dice pool contest?

I'm designing a system where overall success is determined using a dice pool where you count the number of max-value faces among dice rolled and compare this number to some difficulty number. In this ...
6
votes
1answer
114 views

Counting fails and successes in dice pools in Anydice

I'm trying to figure out probabilities for a d6 dice pool mechanic where [5,6] are successes, and [1.2] are fails causing the player to lose that dice from the pool. I've been using "output [count {1,...
5
votes
1answer
77 views

How to calculate conditional probabilities in AnyDice?

While writing the addendum to this answer, which considers the relative value of skill vs. characteristic in the "3d20 system" of Neuroshima, I found myself wanting an answer to a deceptively simple ...
6
votes
2answers
192 views

How can I create an AnyDice function where I can roll 3d20 and then lower the results of the individual die rolls?

In Neuroshima system you throw 3D20, ignore the highest result and use your skill to lower the results on 2 remaining dice, to get them equal or below your characteristic value, such as agility. Each ...
6
votes
1answer
117 views

How can I generate a heat map from AnyDice results?

I want to show some effects of changing dice rolls on a heat map, where on one axis I have task difficulty (level of a spell, quality of lock to pick etc), and on another character level / proficiency ...
9
votes
2answers
1k views

Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?

Say we have three ogres, and want to put them to sleep as a handful of level 7 casters with the sleep spell. We want to know how many of them, on average, will get put to sleep. I tried to make an ...
52
votes
8answers
4k views

How to approximate rolls for potions of healing using only d6's?

I want to make tabletop potions of healing out of corked vials (test tubes) filled with dice. Each vial would be labeled and filled based on the potion it represents. For example, a vial for a potion ...
9
votes
2answers
424 views

How can I use AnyDice to simulate rolling 6d6, and dropping the 2 lowest and 1 highest dice?

I'm running a new D&D 5e campaign soon and I'd like to try rolling for stats with some guardrails. Doing some test throws at the table, I liked the look of rolling 6d6, then dropping the highest ...
8
votes
1answer
491 views

Anydice formula for Great Weapon Master Feat

I'm trying to compare my rogue's damage output to our party's fighter but I've run into a couple snags.. The fighter uses the Great Weapon Master feat and that gives him an extra attack as a bonus ...
19
votes
6answers
2k views

How do I determine the probability of rolling various ranges of numbers on 4d10, 5d10, etc.?

After realizing that my knowledge of how probabilities function has waned significantly, I'm wondering what the probability of rolling multiple 6's or higher (6-10) on four 10-sided dice, five 10-...
5
votes
1answer
219 views

How can I use AnyDice to get the odds of a specific number sequence from rolling 3d10 and dropping the lowest die?

I'm not very experienced with the program, or programming in general, and so I'm stuck. I managed to figure out how to get the probability of different sums of highest 2 of 3d10: ...
4
votes
3answers
555 views

In AnyDice, how can I calculate the number of successes in the highest dice in a given dice pool?

I've tried the following code output [count {5..6} in [highest 2 of 10d6]] Which yields 0: 99.90% 1: 0.10% However, these ...
3
votes
1answer
147 views

WoD in anydice: rolling for minimum number of successes

We all know how to roll dice in WoD in anydice, but I stand in front of a different yet related problem: There are some gifts (for example eye pluck for Corax) [and other powers] that demand a ...
7
votes
1answer
264 views

AnyDice Function: 3d6, lowest die has floor of 3

I've played around with the code a little, but having some trouble figuring out how to to write a function that rolls 3d6 and if the lowest die result is less then 3, then it changes that die to a 3 ...
3
votes
1answer
347 views

AnyDice formula for rolling 2d20 and dropping farthest value from 10

I'm trying to check the probabilities of rolling 2d20, and dropping the farthest from ten using anydice. (i.e. "Most Average" weighted roll, similar to 5e advantage/disadvantage. Basically you'd ...
7
votes
2answers
301 views

How to calculate the probablity of getting 5 hits with 13 dice in Anydice?

How can I calculate probabilities for Shadowrun 5 in Anydice? In Shadowrun 5E (and 4E too, earlier it was completely different) you roll a 6 sided die for each point of your skill and the relevant ...
5
votes
2answers
1k views

Rerolling and replacing the lowest result in Anydice

How can I script Anydice to reroll the lowest result, but keep the new result even if it is lower than the original? Until now I was using output [highest 2 of 3d12]...
4
votes
0answers
98 views

How does Anydice define OR operation? [closed]

This is not RPG related question, but since anydice questions are allowed: Does anyone know how the | operation is defined in anydice? Here is what documentation ...
5
votes
1answer
234 views

Exploding “D9” success-counting pools in anydice?

I'm trying to use anydice to count the number of successes generated by rolling >= to a variable TN using a variable pool of d10s (with 0s counting as 0), that explode on 9s (by rerolling and adding ...
2
votes
1answer
495 views

I need a dice system with a unique behavior and rate of growth (preferably in ANYDICE to verify) [closed]

I am looking for a defense system where the probability of hitting is proportional to the inverse of a quadratic polynomial with respect to defense. I don't care about attack scaling yet. If you ...
38
votes
1answer
5k views

Can AnyDice.com handle weighted dice?

Is it possible to weight the dice in AnyDice.com and then use like normal? I'd like to use a standard d6, with values 1-6, but weighted such that the probability for rolling a specific value is as ...
9
votes
3answers
716 views

Help Modeling 5e Stat “Party Draft Pool” in Anydice

I'm looking to model an alternate to the "4d6, drop the lowest" mechanic for determining ability scores. The proposed system works as follows: 4 players roll 4d6, drop the lowest x 6 [24 total]. ...
1
vote
2answers
375 views

How can I write and compare these formulas using Anydice?

I'm attempting to use AnyDice to detect any differences in how we have started to value AC in our D&D game. We used to roll 1d20+mods Vs Target Armor Class For example, lets use this: 1d20+8 Vs ...
3
votes
3answers
4k views

4d6 reroll 1's and 2's and drop lowest can anydice do this

I am joining a D&D group and the DM has us roll 4d6 reroll any 1 or 2 and then drop the lowest I am curious about the distribution and wonder if anydice could do it
3
votes
1answer
587 views

Creating a 5th edition die roller in AnyDice: how to handle bonus damage on first hit?

I have been trying to create a complete probability generator for fifth edition D&D attack rolls in AnyDice, including features such as advantage/disadvantage, different crit ranges, bonus crit ...
5
votes
3answers
400 views

Modelling opposed dice pools with a swap

I have a dice pool system that awards for instance damage to the loser of an opposed roll. Players roll their pool of dice, with each player's target number being the highest number rolled by their ...
2
votes
1answer
227 views

How do I count the number of duplicates in anydice?

Let's say I have the following roll: 6 6 5 5 5 4. I want to count the number of duplicates, in this case 3 (6 and ...
3
votes
1answer
83 views

Modelling a custom attack resolution in AnyDice: highest non-draw die of pool

I'm experimenting with the probabilities of various "die pool" attack resolutions for a game I'm designing, knowing that pools will generally be 1-4 dice, with sacrifices to temporarily boost a die ...
4
votes
2answers
329 views

Comparing weapons in Anydice with different hit chances and damage

Broadly speaking I'd like to be able to compare 2 weapons where one weapon does more damage but I hit more often with the other. I am in 1st edition AD&D and am about to go up against some ...
1
vote
1answer
499 views

How to show a relationship between dice pool size and success probability?

I want to see a dice pool graph in Anydice, that shows a probability of at least one success. Here's an example. There are several dice pools - 1d6, 2d6, 3d6 and so forth. A "success" is >=5. The ...
15
votes
5answers
2k views

How do I model the fighter's Great Weapon Fighting fighting style in Anydice?

I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice. I've found this ...
5
votes
3answers
488 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 ...
8
votes
1answer
800 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 ...
5
votes
1answer
553 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 ...
4
votes
1answer
549 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 ...
3
votes
1answer
548 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
votes
1answer
292 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 "...
9
votes
3answers
599 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: ...
3
votes
2answers
745 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 ...
5
votes
1answer
456 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 ...
6
votes
1answer
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 ...
5
votes
2answers
589 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 ...
10
votes
4answers
1k 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 ...
2
votes
2answers
383 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-...