Foundry v11/v12 support

This commit is contained in:
2024-05-27 08:53:57 +02:00
parent 915283a674
commit db2ca2453e
6 changed files with 32 additions and 15 deletions

View File

@ -1149,6 +1149,7 @@ export class RdDActor extends RdDBaseActorSang {
finalLevel: 0,
diffConditions: 0,
ajustementsForce: CONFIG.RDD.difficultesLibres,
config: game.system.rdd.config
}
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-ethylisme.html', rollData);
new RdDRollDialogEthylisme(html, rollData, this, r => this.saouler(r.forceAlcool)).render(true);