diff options
author | Erik L. Arneson <earneson@arnesonium.com> | 2023-06-07 08:43:54 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-06-16 08:45:25 +0100 |
commit | 9e26bad3e738a0451da1cefb3e13e8f2cb98d228 (patch) | |
tree | dc78399a76ac90ded798254255b2298182ee480b /org-d20.el | |
parent | 8c7ba2d36193bccd3900496b10b099d715fbe3a0 (diff) | |
download | org-d20-9e26bad3e738a0451da1cefb3e13e8f2cb98d228.tar.gz |
Ensure we read numbers for initiative modifiers
Signed-off-by: Erik L. Arneson <earneson@arnesonium.com>
Diffstat (limited to 'org-d20.el')
-rw-r--r-- | org-d20.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ the best N of them, e.g., 4d6k3." (interactive "*" org-mode) (if (org-at-table-p) (let* ((name-input (read-string "Monster/NPC name: ")) - (init-input (read-string (concat name-input "'s init modifier: "))) + (init-input (read-number (concat name-input "'s init modifier: "))) (hd-input (read-string (concat name-input "'s hit points: "))) (num-input (cdr (org-d20--roll |