-- Leo's gemini proxy

-- Connecting to alexschroeder.ch:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

2024-05-04 Any Dice


I have the greatest respect for the anydice.com website by Jasper Flick. So cool!


Recently, @vdonnut@dice.camp wondered about a dice pool roll where a result of 5 or 6 on a six-sided die is a success.


The answer:


answer


function: ROLL:s count fives and above {
 result: (ROLL >= 5)
}

loop N over {1..10} {
  output [Nd6 count fives and above] named "successes for [N] dice"
}

​#RPG


**2024-05-08**. @fastfox@pnpde.social wrote in to say that there's an existing function to handle the 5–6 is a success part:


loop N over {1..10} {
  output [count {5..6} in Nd6] named "successes for [N] dice"
}

Nice!


-- Response ended

-- Page fetched on Sat May 18 22:08:15 2024