Initiative from PHASE OK
This commit is contained in:
@ -18,16 +18,6 @@ import { SoSCombat } from "./sos-combat.js";
|
||||
/* Foundry VTT Initialization */
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/************************************************************************************/
|
||||
const _patch_initiative = () => {
|
||||
Combat.prototype.rollInitiative = async function (
|
||||
ids,
|
||||
formula = undefined,
|
||||
messageOptions = {}
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
/************************************************************************************/
|
||||
Hooks.once("init", async function () {
|
||||
console.log(`Initializing Shadows over Sol System`);
|
||||
@ -40,7 +30,7 @@ Hooks.once("init", async function () {
|
||||
/* -------------------------------------------- */
|
||||
// Set an initiative formula for the system
|
||||
CONFIG.Combat.initiative = {
|
||||
formula: "1+(1d6/10)",
|
||||
formula: "1d3",
|
||||
decimals: 2
|
||||
};
|
||||
|
||||
@ -68,9 +58,6 @@ Hooks.once("init", async function () {
|
||||
SoSUtility.registerChatCallbacks(html);
|
||||
});
|
||||
|
||||
// Patch the initiative formula
|
||||
_patch_initiative();
|
||||
|
||||
});
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user