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 three methods I'm trying to equivocate are;
- Roll 4d6 drop highest for each stat, which is real easy to model expected results
- Roll 15d6 and build stats, so effectively /6 for average ability score
- Roll 1d20 and 1d4, subtract the lower from the higher.
The last one is giving me some trouble, as it seems simple but I don't know enough script language to write conditional outputs. Would anyone here be able to help?