All equipped gear items (type "item" with system.equipped true).
All rune items owned directly by this actor (does not include socketed runes in gear).
Returns the set of environmental geo type tags currently active for this actor, derived from the scene and any surveyed tiles the actor's token is standing on. Scene/Tile environmental data is stored in flags (Foundry v13 does not support TypeDataModel for Scene or Tile documents).
Returns all glyph items socketed in currently-equipped gear items.
Returns true if this actor should log incoming damage rather than decrement health.
BMS uses system.modifications[] (processed in prepareDerivedData) instead of Foundry's changes pipeline. Override applyActiveEffects to skip change application entirely, preserving only status accumulation and the phase-completion guard.
Apply damage to the actor, accounting for resistances, block reactions, and layer cascading.
The amount of damage to apply.
The type of damage (e.g., "slash", "fire").
Optionallayer: string = "tempHp"
The starting layer ("tempHp", "shields", "health", "sanity").
Optionaloptions: { source?: string } = {}
Optionalsource?: stringSource label for the damage log entry.
Apply a restore to a target vital or resource.
"health", "shields", "tempHp", "sanity", or "resources.
OptionalallowOverflow?: booleanAllow value to exceed max
OptionalbonusValue?: numberAdditional restore amount
OptionalconsumeSurge?: booleanDecrement surges by 1
OptionaluseSurge?: booleanBase restore = floor(target.max / 4)
Clear the damage log for this NPC.
Returns the actor's configured advantage stage for card draws.
Augment the actor's default getRollData() method by appending the data object generated by the its DataModel's getRollData(), or null. This polymorphic approach is useful when you have actors & items that share a parent Document, but have slightly different data preparation needs.
Get the roll formula for a given attribute or vector.
Optionalarchetype?: stringThe archetype key (required for attributes)
Optionalattribute?: stringThe attribute key
Optionalvector?: stringThe vector key
Returns the highest-priority rune item on this actor that responds to the given rune name (direct name match or subrune membership), or null if none is found.
Open the resource management interface for this actor.
Open the rest dialog for this actor.
Convert the actor document to a plain object.
The built in toObject() method will ignore derived data when using Data Models.
This additional method will instead use the spread operator to return a simplified
version of the data.
Plain object either via deepClone or the spread operator.
Open the roll data viewer for this actor.
Extend the base Actor document by defining a custom roll data structure which is ideal for the Simple system.