Fenêtre de jet V2 pour jet quelconque

This commit is contained in:
2025-12-13 02:04:27 +01:00
parent d6a492eef2
commit 2894905fc6
2 changed files with 14 additions and 0 deletions

View File

@@ -385,6 +385,19 @@ export class RdDBaseActorReve extends RdDBaseActor {
/* -------------------------------------------- */
async roll() {
if (OptionsAvancees.isUsing(ROLL_DIALOG_V2)) {
const rollData = {
ids: { actorId: this.id },
type: {
allowed: DEFAULT_ROLL_TYPES,
current: PART_COMP,
},
selected: {
diff: { type: DIFF.DEFAUT }
}
}
return await RollDialog.create(rollData)
}
RdDEmpoignade.checkEmpoignadeEnCours(this)
const carac = this.getCarac()