mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
FateRoll withfear/withHope wasn't working after merging with v14-Dev. Fixed
This commit is contained in:
parent
b44a678ad1
commit
2de0c64d5d
1 changed files with 2 additions and 4 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue