Fixed Adversary roll failing

This commit is contained in:
WBHarry 2026-03-31 18:01:12 +02:00
parent d284bd7398
commit 25264c26e9
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ export default class D20Roll extends DHRoll {
get isCritical() {
if (!this.d20._evaluated) return;
const criticalThreshold = this.options.actionType === 'reaction' ? 20 : this.data.system.criticalThreshold;
const criticalThreshold = this.options.actionType === 'reaction' ? 20 : this.data.criticalThreshold;
return this.d20.total >= criticalThreshold;
}