Combat Tracker + power enhancements
This commit is contained in:
@@ -13,7 +13,7 @@ import { Hero6ItemSheet } from "./hero6-item-sheet.js";
|
||||
import { Hero6ActorSheet } from "./hero6-actor-sheet.js";
|
||||
import { Hero6NPCSheet } from "./hero6-npc-sheet.js";
|
||||
import { Hero6Utility } from "./hero6-utility.js";
|
||||
import { Hero6Combat } from "./hero6-combat.js";
|
||||
import { Hero6Combat, Hero6CombatTracker } from "./hero6-combat.js";
|
||||
import { Hero6Item } from "./hero6-item.js";
|
||||
import { Hero6Hotbar } from "./hero6-hotbar.js"
|
||||
import { Hero6Commands } from "./hero6-commands.js"
|
||||
@@ -41,7 +41,7 @@ Hooks.once("init", async function () {
|
||||
// Set an initiative formula for the system
|
||||
CONFIG.Combat.initiative = {
|
||||
formula: "1d6",
|
||||
decimals: 1
|
||||
decimals: 3
|
||||
};
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@@ -54,6 +54,8 @@ Hooks.once("init", async function () {
|
||||
CONFIG.Combat.documentClass = Hero6Combat
|
||||
CONFIG.Actor.documentClass = Hero6Actor
|
||||
CONFIG.Item.documentClass = Hero6Item
|
||||
CONFIG.ui.combat = Hero6CombatTracker;
|
||||
|
||||
|
||||
/* -------------------------------------------- */
|
||||
// Register sheet application classes
|
||||
@@ -65,6 +67,7 @@ Hooks.once("init", async function () {
|
||||
Items.registerSheet("fvtt-hero-system-6", Hero6ItemSheet, { makeDefault: true });
|
||||
|
||||
Hero6Utility.init()
|
||||
Hero6Combat.init()
|
||||
});
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user