The active status-effect ids on an actor, read from its ActiveEffects.
SoHL's custom data-prep lifecycle does not populate Foundry's core
actor.statuses set, so gather the ids from each effect's statuses field
(plus the legacy flags.core.statusId). Lets Foundry-free logic apply
status-driven rules (e.g. the health ceilings in deriveHealth) without
touching actor.effects directly.
Parameters
actor: undefined|null|SohlActor
The actor whose active statuses to read.
Returns Set<string>
The set of active status-effect ids (empty when none/unavailable).
The active status-effect ids on an actor, read from its ActiveEffects.
SoHL's custom data-prep lifecycle does not populate Foundry's core
actor.statusesset, so gather the ids from each effect'sstatusesfield (plus the legacyflags.core.statusId). Lets Foundry-free logic apply status-driven rules (e.g. the health ceilings inderiveHealth) without touchingactor.effectsdirectly.