From 47db569efd6c8dc7fa823a7a150ccd873eb479f8 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Wed, 13 Sep 2023 21:26:47 +0200 Subject: [PATCH] Add hindrance dice --- modules/pegasus-utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pegasus-utility.js b/modules/pegasus-utility.js index 8d27ac2..50a6cdd 100644 --- a/modules/pegasus-utility.js +++ b/modules/pegasus-utility.js @@ -870,7 +870,7 @@ export class PegasusUtility { rollData.roll = myRoll } if (rollData.hindranceDices > 0) { - rollData.hindranceRoll = new Roll(rollData.hindranceDices + "d6").roll({ async: false }) + rollData.hindranceRoll = new Roll(rollData.hindranceDices + "dh").roll({ async: false }) this.showDiceSoNice(rollData.hindranceRoll, game.settings.get("core", "rollMode")) for (let res of rollData.hindranceRoll.terms[0].results) { if (res.result == 6) {