Action data
Data model options
Internal_idOptionalimgOptionalparentOptionaltagStatic 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
Addon materials
All relevant Changes the action's damage.
Effective per-attack ammo cost.
Effective ammo type.
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.
An array of changes affecting this action's damage
Effective enhancement bonus
Action's enhancement override or what is inherited from item.
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 sound effect?
Has measured template?
Action ID
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?
Is spell-like action
The action's maximum range (range multiplied by maximum range increments).
The action's exclusive minimum range.
Misfire threshold
Normal material
The action's first increment range (in system configured units)
Current sheet.
Retrieve UUID
Relies on Item#getEmbeddedDocument() override to function with fromUuid() and similar functions.
StaticdefaultStaticdefaultGenerate 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.
Generates ChatData for this action's parent item, but with this action's data, regardless of whether it is the first action or not.
OptionalchatDataOptions: object = {}Options passed to ItemPF#getChatData affecting the chat data
Chat data for this action's parent and this action
Optionaloptions: { rollData?: object; type?: "min" | "max" | "single" } = {}Additional options to configure behavior.
The given range, in system configured units, or null if no range is applicable.
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
Use action.
Wrapper for () ItemPF.use()
Options passed to ItemPF.use().
ItemPF.use() returns.StaticcreateCreates an action.
StaticdefineStaticmigrateStaticprune
Action pseudo-document