mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +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
|
|
@ -679,6 +679,10 @@ export default class DhpActor extends Actor {
|
|||
return updates;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resources are modified asynchronously, so be careful not to update the same resource in
|
||||
* quick succession.
|
||||
*/
|
||||
async modifyResource(resources) {
|
||||
if (!resources?.length) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue