Add hindrance dice

This commit is contained in:
2023-09-13 21:25:44 +02:00
parent c1eb33bc21
commit ba98d9c264
5 changed files with 69 additions and 20 deletions

View File

@ -15,6 +15,7 @@ import { PegasusVehicleSheet } from "./pegasus-vehicle-sheet.js";
import { PegasusUtility } from "./pegasus-utility.js";
import { PegasusCombatTracker,PegasusCombat } from "./pegasus-combat.js";
import { PegasusItem } from "./pegasus-item.js";
import { PegasusHindranceDie } from "./pegasus-hindrance-die.js";
import { PEGASUS_CONFIG } from "./pegasus-config.js"
/* -------------------------------------------- */
@ -57,6 +58,7 @@ Hooks.once("init", async function () {
CONFIG.Actor.documentClass = PegasusActor
CONFIG.Item.documentClass = PegasusItem
CONFIG.ui.combat = PegasusCombatTracker
CONFIG.Dice.terms["h"] = PegasusHindranceDie
game.system.pegasus = {
utility: PegasusUtility,
config: PEGASUS_CONFIG
@ -74,7 +76,6 @@ Hooks.once("init", async function () {
PegasusUtility.init()
});
/* -------------------------------------------- */