fix death roll function

This commit is contained in:
moliloo 2025-06-28 15:41:42 -03:00
parent 3593f44612
commit 322b69f4cc

View file

@ -647,7 +647,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
} }
static async makeDeathMove() { static async makeDeathMove() {
if (this.document.system.resources.hitPoints.value === this.document.system.resources.hitPoints.max) { if (this.document.system.resources.hitPoints.value >= this.document.system.resources.hitPoints.maxTotal) {
await new DhpDeathMove(this.document).render(true); await new DhpDeathMove(this.document).render(true);
} }
} }