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

@ -74,7 +74,7 @@ class CaracCompetenceTextBuilder {
const carac = RdDCarac.caracDetails(rollMatch.carac)
if (carac) {
const competence = rollMatch.competence ? RdDItemCompetence.findCompetence(this.context.competences, rollMatch.competence) : undefined
const replacement = await TextRollManager.createRollText(this.context.template,
const replacement = await TextRollManager.createRollText(this.context,
{
code: this.context.code,
carac: carac,