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,12 @@
import { ROLLDIALOG_SECTION, RollPart } from "./roll-part.mjs"
const OPPONENT = "opponent"
export class RollPartOpponent extends RollPart {
get code() { return OPPONENT }
get section() { return ROLLDIALOG_SECTION.ACTION }
visible(rollData) { return rollData.mode.opposed }
title(rollData) { return rollData.opponent?.name ?? '' }
}