Support des maladresses

This commit is contained in:
2025-01-12 22:45:07 +01:00
parent 969bc3b573
commit 135e5e46a0
18 changed files with 98 additions and 92 deletions

View File

@ -1,11 +1,10 @@
export class TextRollManager {
static async createRollText(template, param, showLink = true) {
return await renderTemplate(template, {
param: param,
options: { showlink: showLink }
})
static async createRollText(context, param) {
return await renderTemplate(context.template, {
param, options: context.options
})
}
static getNode(event) {