#105 Affichage résumé a chaque tour de combat

This commit is contained in:
2021-01-03 15:40:48 +01:00
parent 57c568c0d4
commit 969291a526
7 changed files with 84 additions and 18 deletions

View File

@ -92,6 +92,7 @@ export class RdDResolutionTable {
return message;
}
/* -------------------------------------------- */
static async buildRollDataHtml(rollData, template = 'chat-resultat-general.html') {
rollData.ajustements = RdDResolutionTable._buildAjustements(rollData);
rollData.show = rollData.show || {};
@ -99,6 +100,7 @@ export class RdDResolutionTable {
return await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/${template}`, rollData);
}
/* -------------------------------------------- */
static async displayRollData(rollData, userName, template = 'chat-resultat-general.html') {
ChatUtility.chatWithRollMode(