Pulling out hope method and always updating the resources. (#1417)

Making sure stress decreases on critical.
This commit is contained in:
Nick Salyzyn 2025-12-13 07:18:21 -07:00 committed by GitHub
parent 64caff6fb2
commit 7a50d77952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 51 additions and 39 deletions

View file

@ -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);