diff --git a/module/simple.js b/module/simple.js index 2f7e7c3..75da997 100644 --- a/module/simple.js +++ b/module/simple.js @@ -19,7 +19,10 @@ Hooks.once("init", async function() { * Set an initiative formula for the system * @type {String} */ - CONFIG.initiative.formula = "1d20"; + CONFIG.Combat.initiative = { + formula: "1d20", + decimals: 2 + }; // Register sheet application classes Actors.unregisterSheet("core", ActorSheet); diff --git a/system.json b/system.json index f50d1f6..ef7fa83 100644 --- a/system.json +++ b/system.json @@ -2,14 +2,15 @@ "name": "worldbuilding", "title": "Simple World-Building", "description": "A minimalist game system with very simple Actor and Item models to support free-form system agnostic gameplay.", - "version": 0.31, + "version": 0.32, "minimumCoreVersion": "0.4.4", + "compatibleCoreVersion": "0.5.0", "templateVersion": 2, "author": "Atropos", "esmodules": ["module/simple.js"], "styles": ["styles/simple.css"], "packs": [], - "initiative": "1d20", + "languages": [], "gridDistance": 5, "gridUnits": "ft", "primaryTokenAttribute": "health",