InternalRetrieve valid skill change targets for this actor.
Add getters for values that are fine calculating themselves
InternalComputes encumbrance values for this actor.
The resulting penalties from encumbrance.
InternalFinalize data in spellbooks
Called at end of ActorPF.prepareDerivedData()
Protected_ProtectedFinalize preparing armor, weapon, and language proficiencies and other traits.
InternalCollect some basic spellbook info so it doesn't need to be gathered again for each spellbook.
Spellbook cache
Abstract_ExperimentalCallback for when the system thinks the item is fully ready.
InternalPrepare spellbook data
InternalCalculate maximum health
Changes to
Protected_ProtectedPrepare natural reach for melee range and for reach weapons.
Protected_ProtectedCalculate overland speeds.
Prepare Skills
InternalActor Document
Provides baseline support for system datamodels and module added subtypes.
Protected_ProtectedReset class skills & background skills.
InternalShow defenses in chat
Optionaloptions: { rollMode?: string | null; token?: any } = {}Additional options
OptionalrollMode?: string | nullThe roll mode to use for the roll; defaults to the user's current preference when null.
Optionaltoken?: anyRelevant token if any.
Calculate current carry capacity limits.
ProtectedgetProtectedChange target paths for spellbooks on the actor.
InternalGet challenge rating. Applies CR offset modifications from templates.
Total coinage in both weighted and weightless.
Optionaloptions: { inLowestDenomination?: boolean } = {}Additional options
OptionalinLowestDenomination?: booleanUse copper for calculations, otherwise standard denomination is used.
Checks if there's any matching proficiency
The item to check for.
Whether the actor is proficient with that item.
Test if actor is proficient with specified weapon.
Item to test
Additional options
ProtectedonProtectedHandler for character healing during rest.
Resting options.
Update data object
ProtectedprepareRoll a specific saving throw
Identifier for saving throw type.
Optionaloptions: ActorRollOptions = {}Roll options.
void if the roll was cancelled.StaticpruneInternalUpdate Item Resource
the item to add to the actor's resources
Optionaloptions: { warnOnDuplicate?: boolean } = {}extra options
OptionalwarnOnDuplicate?: booleanSkips warning if item tag already exists in dictionary flags
True if resources were set
Prepare actor.changeFlags alterations.
Prepare changes specific to this actor type
Prepare data post embedded documents have been prepared.
This is before changes and before prepareDerivedData()
Prepare data post change application.
This is called inside prepareDerivedData()
AbstractgetInitiative rolling options
AbstractgetGenerate generic labels.
AbstractgetActor appropriate token size
NPC actor data model