Merge branch 'main' into 157-feature-simplify-and-refactor-item-sheets

This commit is contained in:
Joaquin Pereyra 2025-06-23 14:32:06 -03:00
commit 175ae7dd23
38 changed files with 2378 additions and 808 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() {