InternalTemporary clone of the class to simulate changes.
Internal_Temporary clone of the actor for seeing the results of various modifications with.
StaticDEFAULT_StaticICONSStaticitemStaticPARTSDetermine if this level-up is finalized.
Promise for when the wizard finishes.
Resolves either into the added or updated class item, or null if cancelled.
A convenience reference to the title of the Application window.
InternalAbility score key
Operator clicked
Return cost of the adjustment.
For homebrew support.
Determine actual ability score adjustment value.
By default 1 for normal level-ups, 2 for mythic tiers.
Uses pf1.config.levelAbilityScoreMult and pf1.config.tierAbilityScoreMult as multipliers.
Perform modifications for specific part
InternalInitialize and diff level values
Calculates many effects of the different levels.
InternalDefault health selection if auto health is not used.
InternalDefault hit points.
InternalGet effective health roll formula.
InternalGenerate roll instance for the health gain.
InternalGet level at which next ability score is gained.
Create temporary clone actor to get correct values for the new level
Actions performed after any render of the Application.
Prepared context data
Provided render options
Class association additions for the new level
Prepare context that is specific to only a single rendered part.
It is recommended to augment or mutate the shared context so that downstream methods like _onRender have visibility into the data that was used for rendering. It is acceptable to return a different context object rather than mutating the shared context at the expense of this transparency.
The part being rendered
Shared context provided by _prepareContext
Options which configure application rendering behavior
Context data for a specific part
InternalInternalSet current health value and any bonuses to it
InternalSet skills ranks.
InternalSpoof roll, for maximized, auto and manual health.
ProtectedcloseStaticaddAdd class to actor
Owning actor
Class item data
Optionaloptions: { token?: TokenDocument } = {}Additional options
Optionaltoken?: TokenDocumentAssociated token
StaticincreaseIncrease level of a class
Owning actor
Class item
Optionaloptions: { token?: TokenDocument } = {}Additional options
Optionaltoken?: TokenDocumentAssociated token
Level-up and class addition wizard.