#51 Gestion des bonus de cases

This commit is contained in:
2020-12-04 20:52:04 +01:00
parent a831e8b0b2
commit ca84b593ec
11 changed files with 185 additions and 22 deletions

View File

@ -44,16 +44,17 @@ export class RdDRollDialog extends Dialog {
}
super(dialogConf, dialogOptions)
this.mode = mode
this.rollData = rollData
this.actor = actor
this.attacker = attacker
this.mode = mode;
this.rollData = rollData;
this.actor = actor;
if (attacker)
this.attacker = attacker;
}
/* -------------------------------------------- */
performRollSort(html, isSortReserve = false) {
this.rollData.isSortReserve = isSortReserve;
this.actor.performRoll(this.rollData, attacker);
this.actor.performRoll(this.rollData, this.attacker);
}
/* -------------------------------------------- */