Daggerheart uses Duality Dice. This is usually 2d12 (dice can be changed, so a proper formula will allow for setting die sizes) with one die named Hope and the other named Fear. The higher die is its good/bad leaning. Doubles are an automatic success.
I'd like to be able to calculate the odds of reaching a specific total based on a roll of the Duality Dice plus flat modifiers and other dice.
Example: what are the odds of rolling at least 20 on 2d12(doubles crit) + 5 + 1d6.
Clearly, the At Least sort already does the difficulty check. The part I struggle with is how to get doubles to just return a success...(or just a value of like 40 since that's sufficient to ignore all possible negatives in the system).
