mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Fixed Adversary roll failing
This commit is contained in:
parent
d284bd7398
commit
25264c26e9
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue