diff --git a/module/actor.js b/module/actor.js index 54d52034..e1715786 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2482,16 +2482,20 @@ export class RdDActor extends Actor { console.log("rollMeditation !!!", meditationData); - const dialog = await RdDRoll.create(this, meditationData, { html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.html' }, { - name: 'jet-meditation', - label: 'Jet de Meditation ' + meditation.name, - height: 600, - callbacks: [ - this.createCallbackExperience(), - { condition: r => r.rolled.isETotal, action: r => this._meditationETotal(r) }, - { action: r => this._meditationResult(r) } - ] - }); + const dialog = await RdDRoll.create(this, meditationData, + { + html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.html', + options: { height: 575, } + }, + { + name: 'jet-meditation', + label: "Jet de méditation", + callbacks: [ + this.createCallbackExperience(), + { condition: r => r.rolled.isETotal, action: r => this._meditationETotal(r) }, + { action: r => this._meditationResult(r) } + ] + }); dialog.render(true); } diff --git a/templates/dialog-roll-meditation.html b/templates/dialog-roll-meditation.html index 63475128..8e69969c 100644 --- a/templates/dialog-roll-meditation.html +++ b/templates/dialog-roll-meditation.html @@ -1,61 +1,48 @@
+ \ No newline at end of file