actions actions : Record < string , Action > ammo Defined in module/models/item/attack-model.d.ts:31 Optionalarmor Prof armorProf ?: Trait < "med" | "lgt" | "hvy" | "shl" | "twr" > base Types baseTypes : Set < string >
Defined in module/models/item/attack-model.d.ts:24 broken broken : boolean
Defined in module/models/item/attack-model.d.ts:22 Optionalchange Flags changeFlags ?: Set < | "haste" | "lowLightVision" | "seeInDarkness" | "seeInvisibility" | "immuneToMorale" | "loseDexToAC" | "noMediumEncumbrance" | "noHeavyEncumbrance" | "mediumArmorFullSpeed" | "heavyArmorFullSpeed" | "noAblScore.str" | "noAblScore.dex" | "noAblScore.con" | "noAblScore.int" | "noAblScore.wis" | "noAblScore.cha" | "pointBlankShot" | "rapidShot" | "manyshot" , >
Optionalclass Defined in module/models/item/attack-model.d.ts:27 class Skills classSkills : Set < | "int" | "crf" | "acr" | "swm" | "clm" | "fly" | "lor" | "art" | "per" | "apr" | "blf" | "dip" | "dev" | "dis" | "esc" | "han" | "hea" | "kar" | "kdu" | "ken" | "kge" | "khi" | "klo" | "kna" | "kno" | "kpl" | "kre" | "lin" | "prf" | "pro" | "rid" | "sen" | "slt" | "spl" | "ste" | "sur" | "umd" , >
Optionalcontext Notes contextNotes ?: Record < string , ContextNote >
enh enh : number | null
Defined in module/models/item/attack-model.d.ts:20 held held : "2h" | "oh" | "1h"
Defined in module/models/item/attack-model.d.ts:21 Optionallanguages languages ?: Set < | "dark" | "aboleth" | "abyssal" | "aklo" | "ancientosiriani" | "androffan" | "aquan" | "auran" | "azlanti" | "boggard" | "brethedan" | "canto" | "catfolk" | "celestial" | "common" | "cyclops" | "draconic" | "drowsign" | "druidic" | "dtang" | "dwarven" | "dziriak" | "ekekeh" | "elderthing" | "elven" | "erutaki" | "firstspeech" | "gholgan" | "giant" | "gnoll" | "gnome" | "goblin" | "grippli" | "grioth" | "gug" | "halfling" | "hallit" | "honla" | "hwan" | "ib" | "ignan" | "infernal" | "iobaran" | "jandelayan" | "jistka" | "kasatha" | "kelish" | "kuru" | "lashunta" | "migo" | "minatan" | "minkaian" | "munavri" | "nagaji" | "necril" | "orc" | "orvian" | "osiriani" | "polyglot" | "protean" | "reptoid" | "rougarou" | "sakvroth" | "samsaran" | "sasquatch" | "senzar" | "shadowtongue" | "shae" | "shoanti" | "shobhad" | "skald" | "sphinx" | "strix" | "sylvan" | "syrinx" | "taldane" | "tekritanin" | "tengu" | "terran" | "thassilonian" | "tien" | "treant" | "triaxian" | "undercommon" | "urdefhan" | "vanaran" | "varisian" | "varki" | "vegepygmy" | "vishkanya" | "vudrani" | "wayang" | "yaddithian" | "yithian" , >
masterwork masterwork : boolean
Defined in module/models/item/attack-model.d.ts:19 material Defined in module/models/item/attack-model.d.ts:30 proficient proficient : boolean
Defined in module/models/item/attack-model.d.ts:18 properties Defined in module/models/item/attack-model.d.ts:26 script Calls scriptCalls : Record < string , ItemScriptCall >
Optionalshow In Combat showInCombat ?: boolean
Optionalshow In Quickbar showInQuickbar ?: boolean
sub Type subType : "item" | "misc" | "ability" | "weapon" | "natural" | "racialAbility"
technology technology : boolean
Defined in module/models/item/attack-model.d.ts:23 uses Defined in module/models/item/attack-model.d.ts:32 Optionalweapon weapon ?: { category ?: | "misc" | "simple" | "siege" | "martial" | "exotic" | "firearm" | "heavy" ; type ?: string ; }
Defined in module/models/item/attack-model.d.ts:13 weapon Groups weaponGroups : Set < | "double" | "natural" | "close" | "axes" | "bladesHeavy" | "bladesLight" | "bows" | "crossbows" | "firearms" | "flails" | "hammers" | "monk" | "polearms" | "siegeEngines" | "spears" | "thrown" | "tribal" , >
Defined in module/models/item/attack-model.d.ts:25 Optionalweapon Prof weaponProf ?: Trait < "simple" | "siege" | "martial" | "firearm" | "heavy" > attack Notes get attackNotes () : HTML [] effect Notes get effectNotes () : HTML [] is Broken get isBroken () : boolean
Returns boolean Defined in module/models/item/attack-model.mjs:173 Abstract_ active State Change _activeStateChange ( changed : object ) : boolean Internal ExperimentalReturns boolean _ charge Pre Update _chargePreUpdate ( changed : object , context : object ) : Promise < void > InternalParameters changed : object context : object Returns Promise < void > Protected_ recharge Actions _rechargeActions ( options ?: { exact : boolean ; period ?: string ; rollData ?: object } , ) : object | undefined ProtectedParameters options : { exact : boolean ; period ?: string ; rollData ?: object } = {} exact : boolean Optionalperiod ?: string OptionalrollData ?: object Returns object | undefined
Update data or undefined if no update is needed.
Protected_ recharge Uses _rechargeUses ( options ?: { exact ?: boolean ; maximize ?: boolean ; period ?: string ; rollData ?: object ; value ?: number ; } , ) : Promise < object | undefined > ProtectedParameters options : { exact ?: boolean ; maximize ?: boolean ; period ?: string ; rollData ?: object ; value ?: number ; } = {} Optionalexact ?: boolean Optionalmaximize ?: boolean Optionalperiod ?: string OptionalrollData ?: object Optionalvalue ?: number Returns Promise < object | undefined >
Promise for the update, update data object, or undefined (no update needed).
_ update Charge Linking _updateChargeLinking () : void _ update Inherited Charges _updateInheritedCharges ( source : Item < "base" | ModuleSubType > ) : void InternalParameters source : Item < "base" | ModuleSubType > Returns void get Default Charge Cost getDefaultChargeCost ( options ?: { rollData ?: object } ) : number Parameters Optionaloptions : { rollData ?: object } = {} OptionalrollData ?: object Returns number Number for default cost.
Protected Abstractget Labels getLabels ( labels : object , options ?: { isolated ?: boolean ; rollData ?: object } , ) : void ProtectedParameters labels : object Optionaloptions : { isolated ?: boolean ; rollData ?: object } = {} Returns void get Name getName ( asPlayer ?: boolean ) : string Parameters OptionalasPlayer : boolean = false Returns string
get Proficiency getProficiency ( weapon ?: boolean ) : boolean Returns boolean
Whether or not the owner of the item is proficient.
Abstractget Roll Data getRollData ( result : object ) : void prepare Dependent Data prepareDependentData ( final ?: boolean ) : void prepare Derived Data prepareDerivedData () : void recharge recharge ( options ?: { commit ?: boolean ; context ?: object ; exact ?: boolean ; maximize ?: boolean ; period ?: "round" | "minute" | "hour" | "day" | "week" | "any" ; rollData ?: object ; value ?: number ; } , ) : Promise < object | AttackModel | undefined > Parameters options : { commit ?: boolean ; context ?: object ; exact ?: boolean ; maximize ?: boolean ; period ?: "round" | "minute" | "hour" | "day" | "week" | "any" ; rollData ?: object ; value ?: number ; } = {} Optionalcommit ?: boolean Optionalcontext ?: object Optionalexact ?: boolean Optionalmaximize ?: boolean Optionalperiod ?: "round" | "minute" | "hour" | "day" | "week" | "any" OptionalrollData ?: object Optionalvalue ?: number Returns Promise < object | AttackModel | undefined >
Promise for the update, update data object, or undefined (no update needed).
Abstractset Active setActive ( active : boolean , context ?: object ) : Promise < AttackModel > Parameters active : boolean Optionalcontext : object
Update promise if item type supports the operation.
Protected Static Abstract_ adjust New Item _adjustNewItem ( item ?: ItemPF , data ?: object , override ?: boolean ) : void ProtectedParameters Optionalitem : ItemPF Optionaldata : object Optionaloverride : boolean = false Returns void Staticfrom Item fromItem ( item : Item < "base" | ModuleSubType > ) : object Parameters item : Item < "base" | ModuleSubType > Returns object
Defined in module/models/item/attack-model.mjs:198 Static Abstractmigrate Parent Data migrateParentData ( _source : object ) : void Staticprune Data pruneData ( source : any ) : void
Show item in combat tab.