Minor fixes

This commit is contained in:
2024-12-17 07:09:20 +01:00
parent 4e6abebd70
commit 9dfe08b8a4
1402 changed files with 333918 additions and 140 deletions

View File

@@ -0,0 +1,29 @@
import LethalFantasyItemSheet from "./base-item-sheet.mjs"
export default class LethalFantasyMiracleSheet extends LethalFantasyItemSheet {
/** @override */
static DEFAULT_OPTIONS = {
classes: ["miracle"],
position: {
width: 450,
},
window: {
contentClasses: ["miracle-content"],
},
}
/** @override */
static PARTS = {
main: {
template: "systems/fvtt-lethal-fantasy/templates/miracle.hbs",
},
}
/** @override */
async _prepareContext() {
const context = await super._prepareContext()
context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true })
return context
}
}