InternalInternal_Temporary clone of the class to simulate changes.
Internal_Temporary clone of the actor for seeing the results of various modifications with.
InternallevelLevel-Up state
InternalnewNext Level data
StaticICONSStaticitemDetermine 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.
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
Disable all buttons and inputs and set progress indicator
InternalInitialize and diff level values
Calculates many effects of the different levels.
InternalDefault health selection if auto health is not used.
InternalGet level at which next ability score is gained.
Class association additions for the new level
InternalInternalSet current health value and any bonuses to it
InternalSet skills ranks.
InternalInternalStaticaddAdd 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.