forked from public/foundryvtt-reve-de-dragon
#51 Gestion des bonus de cases
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user