[Bug] Downtime Actions Fixes (#421)

* .

* Added a temp fix for a bug in action healing section

* Corrected rules.attack.roll.trait

* .
This commit is contained in:
WBHarry 2025-07-26 22:34:20 +02:00 committed by GitHub
parent e6bfe08d83
commit a54f4e3831
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 71 additions and 10 deletions

View file

@ -55,7 +55,8 @@ export default class DhActiveEffect extends ActiveEffect {
}
static applyField(model, change, field) {
change.value = this.effectSafeEval(itemAbleRollParse(change.value, model, change.effect.parent));
const evalValue = this.effectSafeEval(itemAbleRollParse(change.value, model, change.effect.parent));
change.value = evalValue ?? change.value;
super.applyField(model, change, field);
}