So I'm exploring some mechanics and I want to use Exploding Rolls, similar to Savage World, but I'm curious about the statistics of also having an exploding difficulty.
For example:
I roll 1d6 and 1d8, both can explode but I keep the highest result
vs
1d4 for difficulty (this dice would raise to fit more difficult situations, like 1d6, 1d8 etc).
I'm having trouble to come up with a system so I can compare different skill dices and difficulty dices.
Best Answer
So far...
You know the code for the function without exploding dice.
Part 3
explode
You need to tell your code that the dice do explode, which is part of the
explode
function. with proper brackets in the comparison, so for example[highest of [explode 1d4] and [explode 1d8]]
to have skill dice explode or[explode 1d6]
to have a single d6 explode.Adapted code
or with comparison: here