Update blades-roll.js
Convert to int to fix 0d rolls
This commit is contained in:
parent
2e391e21c2
commit
cfbe7892f2
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ export async function simpleRollPopup() {
|
|||
icon: "<i class='fas fa-check'></i>",
|
||||
label: `Roll`,
|
||||
callback: async (html) => {
|
||||
let diceQty = html.find('[name="qty"]')[0].value;
|
||||
let diceQty = parseInt(html.find('[name="qty"]')[0].value, 10);
|
||||
let note = html.find('[name="note"]')[0].value;
|
||||
await bladesRoll(diceQty,"","","",note);
|
||||
},
|
||||
|
|
Reference in a new issue