Readonly
actionReadonly
callingReadonly
executorReadonly
hasOptional
Readonly
targetReadonly
typeThe items passed to this method will be registered as items potentially to be damaged when the action completes.
Rest
...items: (undefined | default)[]Rest
...skills: SkillGain[]Optional
multiplier: numberOptional
actionTier: numberOptional
bypass: trueOptional
times: numberChecks to see if a protected item can be used
Check if a creature on a tile and blocking the execution of the action
When checking before the action is being executed: true if a creature is on a tile and that creature is not hidden, false otherwise
When checking when the action is being execute true if a creature is on a tile, false otherwise
Removes all items added via addItems
Removes specific items added by addItems
Rest
...items: (undefined | default)[]Sets the contextual tool & target for an action. Exclusively used for translations atm
Optional
tool: default | defaultOptional
target: default | default | ArrayOr<default<unknown, number, EntityReferenceTypes, unknown>>Optional
details: Record<string, TranslationArg>Optional
replace: booleanSets that the items added to this action by addItems
were "used" (so they will be damaged afterward).
Sets whether the items added to this action by addItems
were "used" (IE, whether they will be damaged).
Optional
used: booleanOptional
data: numberOptional
count: numberOptional
inFront: booleanOptional
inFront: booleanOptional
turnType: TurnTypeFlagSets the chance that this action will create a rune item in the player's inventory.
Sets the chance that this action will create a rune item in the player's inventory.
Optional
inFront: booleanOptional
skill: SkillTypeOptional
actionTier: numberOptional
updateFov: booleanGenerated using TypeDoc
Result of a successful canUse check.