mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 12:11:07 +01:00
Added in a temp attack button, because why not
This commit is contained in:
parent
52484bd818
commit
9fe29e5136
7 changed files with 26 additions and 29 deletions
|
|
@ -346,10 +346,7 @@ export default class DhpActor extends Actor {
|
|||
: 0;
|
||||
|
||||
const update = {
|
||||
'system.resources.hitPoints.value': Math.min(
|
||||
this.system.resources.hitPoints.value + hpDamage,
|
||||
this.system.resources.hitPoints.max
|
||||
)
|
||||
'system.resources.hitPoints.value': Math.max(this.system.resources.hitPoints.value - hpDamage, 0)
|
||||
};
|
||||
|
||||
if (game.user.isGM) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue