mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[Fix] Automation Fixes (#342)
* Initial * Split HopeFear automation by GM and Players * Fixed ActionToken automation
This commit is contained in:
parent
0dd5b53313
commit
aa2714e021
15 changed files with 87 additions and 76 deletions
|
|
@ -669,10 +669,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
} else if (item instanceof ActiveEffect) {
|
||||
item.toChat(this);
|
||||
} else {
|
||||
const wasUsed = await item.use(event);
|
||||
if (wasUsed && item.type === 'weapon') {
|
||||
Hooks.callAll(CONFIG.DH.HOOKS.characterAttack, {});
|
||||
}
|
||||
item.use(event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue