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
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
InternalCreation data
Context
Triggering user
InternalPrepare spellbook data
Prepare changes specific to this actor type
InternalCalculate maximum health
Changes to
Protected_ProtectedPrepare natural reach for melee range and for reach weapons.
Protected_ProtectedCalculate overland speeds.
Prepare Skills
InternalInternalChanged data
Context
Triggering user
Protected_ProtectedReset class skills & background skills.
Protected_ProtectedHandle relative XP change and constrain it to appropriate minimum value.
Changed data
Called at end of ()
Calculate current carry capacity limits.
InternalAmount of experience required to gain next level at specific character level.
Desired level to level-up.
Optionaloptions: { rollData?: object } = {}Additional options
OptionalrollData?: objectRoll data instance
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
ProtectedpreparePrepare data post embedded documents have been prepared.
This is before changes and before prepareDerivedData()
Prepare data post change application.
Base actor class with minimal functionality.
Provides only caching of .itemTypes and nothing else.
StaticdefineStaticmigrateStaticprune
Character actor data model