Fix critical button roll: pass explicit table formula to bypass modifier slider prompt and prevent roll out-of-bounds error

This commit is contained in:
2026-05-27 19:17:39 +01:00
parent 6557ef82ad
commit 96896ba92f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ Hooks.on("renderChatMessageHTML", (app, html) => {
return; return;
} }
await actor.rollTable(resolved.uuid ?? resolved.id ?? tableId, null, null, null, null, null, null); await actor.rollTable(resolved.uuid ?? resolved.id ?? tableId, resolved.formula ?? "1d10", "low", true, false, null, null);
}); });
}); });
+1 -1
View File
@@ -2,7 +2,7 @@
"id": "sla-mothership", "id": "sla-mothership",
"title": "SLA Mothership", "title": "SLA Mothership",
"description": "An SLA Industries conversion built on the unofficial Mothership system for Foundry VTT, preserving Mothership's core mechanics while adding SLA flux, Ebb, BPN, and equipment support.", "description": "An SLA Industries conversion built on the unofficial Mothership system for Foundry VTT, preserving Mothership's core mechanics while adding SLA flux, Ebb, BPN, and equipment support.",
"version": "0.6.8", "version": "0.6.9",
"esmodules": [ "esmodules": [
"module/mosh.js" "module/mosh.js"
], ],