Simplify macro creation for formula attributes

This commit is contained in:
Andrew 2020-10-19 18:30:53 -07:00
parent 6bf056b3d4
commit 5560fc24d4
2 changed files with 5 additions and 31 deletions

View file

@ -9,7 +9,7 @@ import { SimpleActor } from "./actor.js";
import { SimpleItemSheet } from "./item-sheet.js";
import { SimpleActorSheet } from "./actor-sheet.js";
import { preloadHandlebarsTemplates } from "./templates.js";
import { createWorldbuildingMacro, rollAttrMacro } from "./macro.js";
import { createWorldbuildingMacro } from "./macro.js";
/* -------------------------------------------- */
/* Foundry VTT Initialization */
@ -32,8 +32,7 @@ Hooks.once("init", async function() {
game.worldbuilding = {
SimpleActor,
createWorldbuildingMacro,
rollAttrMacro,
createWorldbuildingMacro
};
// Define custom Entity classes