mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
BeastformAction now respects and handles costs (#484)
This commit is contained in:
parent
23b8363dd2
commit
bb9036ee7a
3 changed files with 14 additions and 3 deletions
|
|
@ -224,7 +224,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
|
|||
keyIsID: resource.keyIsID
|
||||
};
|
||||
});
|
||||
console.log(resources);
|
||||
|
||||
await this.actor.modifyResource(resources);
|
||||
if (config.uses?.enabled) this.update({ 'uses.value': this.uses.value + 1 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue