Correct the way that the successes are counted

This commit is contained in:
Oliver-Akins 2025-01-02 22:43:06 -07:00
parent 82816d8915
commit 1afffb0a73

View file

@ -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);
}
};
};