mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Fix/1149 fix targets apply effects (#1151)
* Temp ActionField attack type missing * Move missing attack type to getModel * Fix targets apply effects
This commit is contained in:
parent
f04619f73b
commit
2d92576121
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
|
|||
if (this.system.source.item && this.system.source.action) {
|
||||
const action = this.getAction(actor, this.system.source.item, this.system.source.action);
|
||||
if (!action || !action?.applyEffects) return;
|
||||
const targets = this.getTargetList();
|
||||
const targets = this.system.hitTargets;
|
||||
if (targets.length === 0)
|
||||
ui.notifications.info(game.i18n.localize('DAGGERHEART.UI.Notifications.noTargetsSelected'));
|
||||
this.consumeOnSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue