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:
+1
-1
@@ -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
@@ -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"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user