Fix livre

This commit is contained in:
2020-07-05 21:45:25 +02:00
parent b757411f8e
commit ea94e27e5a
10 changed files with 98 additions and 18 deletions

View File

@ -5,6 +5,7 @@
import { RdDUtility } from "./rdd-utility.js";
import { RdDRollDialog } from "./rdd-roll-dialog.js";
import { RdDTMRDialog } from "./rdd-tmr-dialog.js";
export class RdDActor extends Actor {
@ -360,7 +361,15 @@ export class RdDActor extends Actor {
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-roll-carac.html', rollData);
new RdDRollDialog("carac", html, rollData, this ).render(true);
}
/* -------------------------------------------- */
async rollSort( sortID )
{
console.log("Loading TMR template!!!");
let html = await renderTemplate('systems/foundryvtt-reve-de-dragon/templates/dialog-tmr.html', sortID);
new RdDTMRDialog(sortID, html, this ).render(true);
}
/* -------------------------------------------- */
rollArme( armeName )
{