Add new Compendium

This commit is contained in:
2020-07-22 00:12:13 +02:00
parent a873ff92d0
commit c7ccfacf84
3 changed files with 31 additions and 15 deletions

View File

@ -476,12 +476,12 @@ export class RdDActor extends Actor {
return;
}
console.log("Loading TMR template!!!");
let data = {
fatigueHTML:"<table class='table-fatigue'>" + RdDUtility.makeHTMLfatigueMatrix( this.data.data.sante.fatigue.value, this.data.data.sante.endurance.max ).html() + "</table>",
draconic: this.getDraconicList(),
sort: this.getSortList(),
caracReve: this.data.data.carac.reve.value
caracReve: this.data.data.carac.reve.value,
pointsReve: this.data.data.reve.reve.value
}
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', data );
new RdDTMRDialog(sortID, html, this ).render(true);