Add slying dice modifier to DicePool

This commit is contained in:
Johannes Loher 2021-03-13 22:08:04 +01:00
parent eeb1aa61f4
commit 7f973e7de8
3 changed files with 53 additions and 19 deletions

View file

@ -1,15 +1,16 @@
import { DS4Actor } from "./actor/actor";
import { DS4Item } from "./item/item";
import { DS4ItemSheet } from "./item/item-sheet";
import { DS4 } from "./config";
import { DS4Check } from "./rolls/check";
import { DS4CharacterActorSheet } from "./actor/sheets/character-sheet";
import { DS4CreatureActorSheet } from "./actor/sheets/creature-sheet";
import { createCheckRoll } from "./rolls/check-factory";
import { registerSystemSettings } from "./settings";
import { migration } from "./migrations";
import { DS4 } from "./config";
import registerHandlebarsHelpers from "./handlebars/handlebars-helpers";
import registerHandlebarsPartials from "./handlebars/handlebars-partials";
import { DS4Item } from "./item/item";
import { DS4ItemSheet } from "./item/item-sheet";
import { migration } from "./migrations";
import { DS4Check } from "./rolls/check";
import { createCheckRoll } from "./rolls/check-factory";
import registerSlayingDiceModifier from "./rolls/slaying-dice-modifier";
import { registerSystemSettings } from "./settings";
Hooks.once("init", async () => {
console.log(`DS4 | Initializing the DS4 Game System\n${DS4.ASCII}`);
@ -33,6 +34,8 @@ Hooks.once("init", async () => {
CONFIG.Dice.types.push(DS4Check);
CONFIG.Dice.terms.s = DS4Check;
registerSlayingDiceModifier();
registerSystemSettings();
Actors.unregisterSheet("core", ActorSheet);