PDA

View Full Version : Calculating "advantage" on anydice

2016-06-16, 11:02 AM
Edit: changing my question

Anydice has a formula that allows to calculate advantage.

For example:
output [highest 2 of 2d8]
This is like the standard advantage in 5e

I have a system where each players rolls a d8, possibly with advantage.
All results are tallied up to reach a target number.

It's different than output [highest 3 of 6d8], but i can't really find the words to explain why (english not my main language).
[highest 3 of 6d8] should yield better results than each player rolling a d8 with advantage, by himself, and then tallying up.

Can i calculate that in anydice?

OldTrees1
2016-06-16, 11:39 AM
Yes, you are correct that [highest 3 of 6d8] >= [highest of 2d8] + [highest of 2d8] + [highest of 2d8].
Those 2 results are only equal when the 3 highest dice are never in the same pair of 2 dice.

But I don't know how to calculate that in anydice. If there is a way to designate a weird die (1,2,2,2,3,3,3,3,3,...) in anydice then you could roll 3 weird dice.

Of course I am presuming by "calculate" you meant more than just the expected/average value. Since the average of 3d(highest of 2d8) is just 3*(average of highest of 2d8) = 3*5.8125 = 17.4375

2016-06-16, 01:02 PM
Thanks!

Apparently anydice accepts this:

output [highest 1 of 2d8] + [highest 1 of 2d8] + [highest 1 of 2d8]

It should be what i'm looking for, am i right?

OldTrees1
2016-06-16, 02:45 PM
Thanks!

Apparently anydice accepts this:

output [highest 1 of 2d8] + [highest 1 of 2d8] + [highest 1 of 2d8]

It should be what i'm looking for, am i right?

Looks good.

Now I am wondering about the highest of the lowest and the lowest of the highest.
Anydice does not accept output [lowest 1 of [highest 1 of 2d8] [highest 1 of 2d8]]
Edit: These work
output [highest of [lowest 1 of 2d20] and [lowest 1 of 2d20]]
output [lowest of [highest 1 of 2d20] and [highest 1 of 2d20]]