mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Pulling out hope method and always updating the resources. (#1417)
Making sure stress decreases on critical.
This commit is contained in:
parent
64caff6fb2
commit
7a50d77952
5 changed files with 51 additions and 39 deletions
|
|
@ -245,7 +245,6 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
|
|||
});
|
||||
|
||||
if (!result) return;
|
||||
await game.system.api.fields.ActionFields.CostField.execute.call({ actor }, result);
|
||||
|
||||
const newMessageData = foundry.utils.deepClone(message.system);
|
||||
foundry.utils.setProperty(newMessageData, `${path}.result`, result.roll);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue