From c88c9edbfdf9c679d7b5ef2b0cac8df315e97e92 Mon Sep 17 00:00:00 2001 From: reyzor1991 Date: Fri, 18 Jul 2025 07:56:31 +0300 Subject: [PATCH] Update module/roll/roll.js Co-authored-by: Jalen <72114365+jalensailin@users.noreply.github.com> --- module/roll/roll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/roll/roll.js b/module/roll/roll.js index f568600..c1aed0e 100644 --- a/module/roll/roll.js +++ b/module/roll/roll.js @@ -296,7 +296,7 @@ export class DGPercentileRoll extends DGRoll { } } - let failureMark = !this.isSuccess && this.skillPath + const failureMark = !this.isSuccess && this.skillPath && !DGUtils.getValueByPath(this.actor, this.skillPath).failure; const html = await renderTemplate(