mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Merged with v14-Dev
This commit is contained in:
commit
4332a1ba7a
613 changed files with 4618 additions and 2996 deletions
|
|
@ -227,9 +227,9 @@ export default class ArmorEffect extends foundry.data.ActiveEffectTypeDataModel
|
|||
changes.system.changes[0].value !== this.armorChange.value &&
|
||||
this.parent.actor?.type === 'character'
|
||||
) {
|
||||
const increased = changes.system.changes[0].value > this.armorChange.value;
|
||||
const value = -1 * (this.armorChange.value - changes.system.changes[0].value);
|
||||
options.scrollingTextData = [getScrollTextData(increased, value, 'armor')];
|
||||
options.scrollingTextData = [
|
||||
getScrollTextData(this.parent.actor, changes.system.changes[0], 'armor')
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue