Internal
Temporary clone of the class to simulate changes.
Internal
_Temporary clone of the actor for seeing the results of various modifications with.
Static
DEFAULT_Static
ICONSStatic
itemStatic
PARTSDetermine 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.
Internal
Ability 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
Internal
Initialize and diff level values
Calculates many effects of the different levels.
Internal
Default health selection if auto health is not used.
Internal
Default hit points.
Internal
Get effective health roll formula.
Internal
Generate roll instance for the health gain.
Internal
Get 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
Internal
Internal
Set current health value and any bonuses to it
Internal
Set skills ranks.
Internal
Spoof roll, for maximized, auto and manual health.
Protected
closeStatic
addAdd class to actor
Owning actor
Class item data
Optional
options: { token?: TokenDocument } = {}Additional options
Optional
token?: TokenDocumentAssociated token
Static
increaseIncrease level of a class
Owning actor
Class item
Optional
options: { token?: TokenDocument } = {}Additional options
Optional
token?: TokenDocumentAssociated token
Level-up and class addition wizard.