daggerheart/module/applications/sheets/rollTables/rollTable.mjs
2026-01-14 18:13:29 -05:00

24 lines
728 B
JavaScript

//Setting RollTable
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
static buildParts() {
const { footer, ...parts } = super.PARTS;
return {
...parts,
summary: { template: 'systems/daggerheart/templates/sheets/rollTable/summary.hbs' },
footer
}
}
static PARTS = DhRollTableSheet.buildParts();
static actions = {
addAltFormula: DhRollTableSheet.#onAddAltFormula,
removeAltForuma: DhRollTableSheet.#onRemoveAltFormula
};
//Add formulafield
static async #onAddAltFormula(event, target) {}
//Remove formulafield
static async #onRemoveAltFormula(event, target) {}
}