FateRoll withfear/withHope wasn't working after merging with v14-Dev. Fixed

This commit is contained in:
WBHarry 2026-03-31 17:25:24 +02:00
parent b44a678ad1
commit 2de0c64d5d

View file

@ -44,13 +44,11 @@ export default class FateRoll extends D20Roll {
} }
get withHope() { get withHope() {
if (!this._evaluatedl) return; return this.data.fateType === 'Hope';
return this.dHope.total >= this.dFear.total;
} }
get withFear() { get withFear() {
if (!this._evaluated) return; return this.data.fateType === 'Fear';
return this.dHope.total < this.dFear.total;
} }
get totalLabel() { get totalLabel() {