Redid it a better way

This commit is contained in:
WBHarry 2025-07-28 04:36:32 +02:00
parent 91c25bcac5
commit c3e4f3922e
2 changed files with 22 additions and 5 deletions

View file

@ -66,12 +66,9 @@ export default class DHTokenHUD extends foundry.applications.hud.TokenHUD {
if (!status) continue;
if (status._id) {
if (status._id !== effect.id) continue;
} else {
if (effect.statuses.size !== 1) continue;
}
status.isActive = true;
if (effect.getFlag('core', 'overlay')) status.isOverlay = true;
break;
}
}