forked from public/foundryvtt-reve-de-dragon
Rework méditation
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user