Nouvelle fenêtre de jets de dés

This commit is contained in:
2025-09-05 01:09:32 +02:00
parent 652c435833
commit 1ff32697f4
134 changed files with 4025 additions and 400 deletions

View File

@@ -0,0 +1,19 @@
import { ROLLDIALOG_SECTION, RollPart } from "./roll-part.mjs"
export const PART_ACTION = "action"
export class RollPartAction extends RollPart {
get code() { return PART_ACTION }
get section() { return ROLLDIALOG_SECTION.ACTION }
title(rollData) {
return rollData.mode.label
}
prepareContext(rollData) {
const current = this.getCurrent(rollData)
current.verb = rollData.mode.label
}
}