From 778e569037f78066638d4e75175b0f3e538893c2 Mon Sep 17 00:00:00 2001 From: Murilo Brito <91566541+moliloo@users.noreply.github.com> Date: Sat, 28 Jun 2025 15:45:59 -0300 Subject: [PATCH] fix death roll function (#197) --- module/applications/sheets/character.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/applications/sheets/character.mjs b/module/applications/sheets/character.mjs index a114e1c1..8570b5f3 100644 --- a/module/applications/sheets/character.mjs +++ b/module/applications/sheets/character.mjs @@ -647,7 +647,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) { } 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); } }