This commit is contained in:
Dapoolp 2025-08-27 01:14:12 +02:00
parent a659375157
commit 1c93f9e656
2 changed files with 7 additions and 1 deletions

View file

@ -141,7 +141,12 @@ export default class D20RollDialog extends HandlebarsApplicationMixin(Applicatio
this.roll[key] = value;
});
}
if(rest.hasOwnProperty("trait")) this.config.roll.trait = rest.trait;
if(rest.hasOwnProperty("trait")) {
this.config.roll.trait = rest.trait;
this.config.title = game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilityCheckTitle', {
ability: game.i18n.localize(abilities[this.config.roll.trait]?.label)
});
}
this.config.extraFormula = rest.extraFormula;
this.render();
}