This commit is contained in:
WBHarry 2026-03-08 13:59:08 +01:00
parent f1f5102af1
commit c6bf482b07
12 changed files with 280 additions and 94 deletions

View file

@ -213,7 +213,7 @@ export default class BaseDataActor extends foundry.abstract.TypeDataModel {
const textData = Object.keys(changes.system.resources).reduce((acc, key) => {
const resource = changes.system.resources[key];
if (resource.value !== undefined && resource.value !== this.resources[key].value) {
acc.push(getScrollTextData(this.resources, resource, key));
acc.push(getScrollTextData(this.resources, resource, key, this.parent.type));
}
return acc;