Migration vers datamodels

This commit is contained in:
2026-02-25 15:49:55 +01:00
parent 64eb40abfb
commit f1ab04bf32
95 changed files with 7418 additions and 593 deletions

View File

@@ -211,6 +211,8 @@ export class EcrymeUtility {
type: "confront-data",
rollData1: this.confrontData1,
rollData2: this.confrontData2,
alias: this.confrontData1.alias,
actorImg: this.confrontData1.actorImg,
}
// Compute margin
confront.marginExecution = this.confrontData1.executionTotal - this.confrontData2.preservationTotal
@@ -378,6 +380,9 @@ export class EcrymeUtility {
'systems/fvtt-ecryme/templates/dialogs/partial-confront-dice-area.hbs',
'systems/fvtt-ecryme/templates/dialogs/partial-confront-bonus-area.hbs',
'systems/fvtt-ecryme/templates/actors/partial-impacts.hbs',
'systems/fvtt-ecryme/templates/actors/partials/actor-header.hbs',
'systems/fvtt-ecryme/templates/items/partials/item-header.hbs',
'systems/fvtt-ecryme/templates/items/partials/item-description.hbs',
]
return foundry.applications.handlebars.loadTemplates(templatePaths);
}