aboutsummaryrefslogtreecommitdiff
path: root/org-d20.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-d20.el')
-rw-r--r--org-d20.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-d20.el b/org-d20.el
index 1bb8d5d..2b56768 100644
--- a/org-d20.el
+++ b/org-d20.el
@@ -314,7 +314,7 @@ the best N of them, e.g., 4d6k3."
(seq-elt
(list "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M"
"N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z")
- n)
+ (- n 1))
(int-to-string n)))
(defun org-d20-roll-at-point ()