From 1afffb0a73897088f78810f581d88b7700ead1cb Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 2 Jan 2025 22:43:06 -0700 Subject: [PATCH] Correct the way that the successes are counted --- module/dice/CryptDie.mjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/dice/CryptDie.mjs b/module/dice/CryptDie.mjs index 9722990..9a573a2 100644 --- a/module/dice/CryptDie.mjs +++ b/module/dice/CryptDie.mjs @@ -43,12 +43,11 @@ export class CryptDie extends Die { } }; - // Count successes and deduct failures from total + // Count successes await this.countSuccess(`cs>=${target}`); - await this.deductFailures(`df<${target}`); }; get total() { return Math.max(super.total, 0); - } + }; };