Support @roll[2d6]

This commit is contained in:
2025-01-11 17:32:43 +01:00
parent 06aff9a3c0
commit 792558ac84
11 changed files with 119 additions and 56 deletions

View File

@ -208,7 +208,7 @@ export class RdDItemSheet extends ItemSheet {
this.html.find('.creer-potion-base').click((event) => this._getEventActor(event).actionHerbe(this.item));
this.html.find('input[name="system.cacher_points_de_tache"]').change(async event => await this.item.update({ 'system.cacher_points_de_tache': event.currentTarget.checked }));
this.html.find('.roll-carac-competence').click(async event => await RdDTextEditor.rollText(event, this.actor))
this.html.find('.roll-text').click(async event => await RdDTextEditor.rollText(event, this.actor))
this.html.find('.alchimie-tache a').click((event) => {
let actor = this._getEventActor(event);
if (actor) {