Internal_OptionalimgOptionalmaneuverOptionalparentOptionaltagStatic ReadonlyFALLBACK_Default image if the action has no image and it is not correctly linked to an item
Static Readonly InternalmetadataMetadata mimicking Foundry documents
Required by pf1.applications.ItemActionSheet#_createDocumentIdLink
InternalDefault attack ability
InternalDefault damage ability
Parent actor of the parent item
Addon materials
All relevant Changes the action's damage.
Get all appropriate context changes for attack rolls.
Consumes charges on use?
Can this action be used?
Returns false if any known criteria for use limitation fails. Calls owning item's canUse functionality also.
Effective critical range when accounting for broken status and action type.
Returns null when crit is not possible.
An array of changes affecting this action's damage
Includes attack roll?
Does the action implement a damage roll as part of its usage
Has potentially multiple attacks
Does the item have range defined.
Does the Item implement a saving throw as part of its usage
Has measured template?
Does parent item have charges?
Returns whether this action is a combat maneuver
Does the item provide an amount of healing instead of conventional damage?
Is ranged rather than melee.
Action has charges of its own?
Parent item
The action's maximum range (range multiplied by maximum range increments).
The action's exclusive minimum range.
The action's first increment range (in system configured units)
Retrieve UUID
Relies on Item#getEmbeddedDocument() override to function with fromUuid() and similar functions.
StaticdocumentOn-delete handling
InternalReplace conditionals array with collection
Delete this action
Generate attacks.
Optionaloptions: {Options
Optionalbonuses?: booleanInclude other bonuses. Requires resolve to be enabled.
Optionalconditionals?: booleanInclude conditional modifications. Requires resolve to be enabled.
Optionalfull?: booleanFull attack
Optionalresolve?: booleanIf the bonuses are to be resolved directly.
OptionalrollData?: objectRoll data
Optionaloptions: {Additional options to configure behavior.
Optionalinteractive?: booleanOptionalmaximize?: booleanOptionalminimize?: booleanOptionalrollData?: objectPre-determined roll data to pass for determining the charge cost.
Optionaloptions: { maximize?: boolean; minimize?: boolean; rollData?: object } = {}Additional options to configure behavior.
Optionalmaximize?: booleanOptionalminimize?: booleanOptionalrollData?: objectPre-determined roll data to pass for determining the charge cost.
Generates ChatData for this action's parent item, but with this action's data, regardless of whether it is the first action or not.
Optionaloptions: object = {}Options passed to ItemPF#getChatData affecting the chat data
Chat data for this action's parent and this action
Generates a list of critical applications for a given formula target.
The target key as defined in pf1.config.conditionalTargets.
A list of critical applications.
Generates lists of conditional modifier bonus types applicable to a formula.
The target key as defined in pf1.config.conditionTargets.
A list of bonus types.
Generates lists of conditional sub-targets this action can have.
The target entry
Generates a list of targets this modifier can have.
Target ID to label mapping.
OptionalrollData: object = nullData to pass to the roll. If none is given, get new roll data.
The Difficulty Class for this action.
For supporting conditionals in fromUuid()
Synced with Foundry v12.331
Returns labels related to this particular action
Optionaloptions: { isolated?: boolean; rollData?: object } = {}Optionalisolated?: booleanAre these labels generated for isolated information (that is, need more details)
OptionalrollData?: objectPre-determined roll data. If not provided, finds the action's own roll data.
This action's labels
Get power attack, deadly aim or piranha strike multiplier.
Optionaloptions: { rollData?: object } = {}Additional options
OptionalrollData?: objectRoll data instance
Optionaloptions: { rollData?: object; type?: "min" | "max" | "single" } = {}Additional options to configure behavior.
OptionalrollData?: objectSpecific roll data to pass.
Optionaltype?: "min" | "max" | "single"What type of range to query. Either "single" (for a single range increment), "max" or "min".
The given range, in system configured units, or null if no range is applicable.
InternalOptionaloptions: objectInternalData preparation
Render all connected application instances.
Optionalforce: boolean = falseForce rendering
Optionalcontext: object = {}Optional context
Place an attack roll using an item (weapon, feat, spell, or equipment)
Optionaloptions: {Options
Optionalbonus?: stringAdditional attack bonus
Optionaldata?: objectRoll data
OptionalextraChanges?: ItemChange[]Additional changes
OptionalextraParts?: string[]Additional attack parts
Optionalprimary?: booleanTreat as primary natural attack
Roll damage for an action.
Optionaloptions: {Options configuring the damage roll
OptionalconditionalParts?: objectConditional data sets
Optionalcritical?: booleanWhether to roll critical damage
Optionaldata?: null | objectrollData to be used
OptionalextraParts?: string[]Additional strings added to the roll formula
OptionalprimaryAttack?: booleanWhether this is the primary attack
Created damage rolls, one roll per damage part
Update the action
TODO: BROKEN
Update data
Update context
Use action.
Wrapper for () ItemPF.use()
Options passed to ItemPF.use().
ItemPF.use() returns.StaticcreateStaticdefineStaticmigrateStaticpruneInternalPrune data
Raw data (e.g. product of toObject())
Action pseudo-document