Added countdown automation

This commit is contained in:
WBHarry 2025-06-21 14:13:26 +02:00
parent b6f78c5102
commit 2299141442
18 changed files with 500 additions and 53 deletions

View file

@ -371,7 +371,11 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
static async attackRoll(event, button) {
const weapon = await fromUuid(button.dataset.weapon);
if (!weapon) return;
weapon.use(event);
const wasUsed = await weapon.use(event);
if (wasUsed) {
Hooks.callAll(SYSTEM.HOOKS.characterAttack, {});
}
}
static openLevelUp() {