Last active
November 10, 2020 03:47
-
-
Save terefang/a4c883d7f9be80abf00796047b58d476 to your computer and use it in GitHub Desktop.
anydice roll 2dX H - L
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function: rolldigits ROLL:s { | |
if 1@ROLL < 2@ROLL { result: 2@ROLL - 1@ROLL } | |
if 1@ROLL >= 2@ROLL { result: 1@ROLL - 2@ROLL } | |
} | |
output [rolldigits 2d10] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment