function: compare R:n to X:n and Y:n {
if R > X {
if R > Y {
result : 2
}
else {
result : 1
}
}
else {
if R > Y {
result : 1
}
else {
result : 0
}
}
}
output [compare 1d6+0 to d10 and d10] named "+0"
output [compare 1d6+1 to d10 and d10] named "+1"
output [compare 1d6+2 to d10 and d10] named "+2"
output [compare 1d6+3 to d10 and d10] named "+3"
output [compare 1d6+4 to d10 and d10] named "+4"
Created
June 1, 2025 15:40
-
-
Save dc0d/a9984c748d03eaf5c7fd44153f3bbbcc to your computer and use it in GitHub Desktop.
ironsworn-anydice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment