alignment Defined in module/models/item/class-model.d.ts:48 Optionalarmor Prof armorProf ?: Trait < "med" | "lgt" | "hvy" | "shl" | "twr" > bab bab : "high" | "med" | "low" | "custom"
Defined in module/models/item/class-model.d.ts:18 bab Base babBase : number | undefined
Defined in module/models/item/class-model.mjs:339 Defined in module/models/item/class-model.mjs:341 babFormula : Formula
Defined in module/models/item/class-model.d.ts:19 casting casting : { ability : "str" | "dex" | "con" | "int" | "wis" | "cha" ; cantrips : boolean ; domain : number ; offset : number ; progression : "high" | "med" | "low" ; spells : "arcane" | "divine" | "psychic" | "alchemy" ; type : "prestige" | "prepared" | "spontaneous" | "hybrid" ; }
Defined in module/models/item/class-model.d.ts:53 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" , >
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 >
custom HD customHD : Formula
Defined in module/models/item/class-model.d.ts:16 fc fc : { alt : { notes : FreeText ; value : number } ; hp : { value : number } ; skill : { value : number } ; } Defined in module/models/item/class-model.d.ts:35 hd hd : number
Defined in module/models/item/class-model.d.ts:14 hit Dice hitDice : number | undefined
Defined in module/models/item/class-model.mjs:280 Defined in module/models/item/class-model.mjs:299 Defined in module/models/item/class-model.mjs:303 hp hp : number
Defined in module/models/item/class-model.d.ts:17 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" , >
level level : number
Defined in module/models/item/class-model.d.ts:13 mythic Tier mythicTier : number | undefined
Defined in module/models/item/class-model.mjs:281 Defined in module/models/item/class-model.mjs:291 progression progression : "" | "animal" | "eidolon"
Defined in module/models/item/class-model.d.ts:15 saving Throws savingThrows : { fort : { custom : Formula ; value : "high" | "low" | "custom" } ; ref : { custom : Formula ; value : "high" | "low" | "custom" } ; will : { custom : Formula ; value : "high" | "low" | "custom" } ; }
Defined in module/models/item/class-model.d.ts:21 script Calls scriptCalls : Record < string , ItemScriptCall >
skills Per Level skillsPerLevel : number
Defined in module/models/item/class-model.d.ts:20 sub Type subType : "base" | "racial" | "prestige" | "npc" | "mythic"
wealth wealth : Formula
Defined in module/models/item/class-model.d.ts:47 Optionalweapon Prof weaponProf ?: Trait < "simple" | "siege" | "martial" | "firearm" | "heavy" > 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 > _ on Level Change _onLevelChange ( curLevel ?: number , newLevel ?: number , options ?: { event ?: "create" | "update" | "delete" } , ) : Promise < void > Parameters curLevel : number = 0 newLevel : number = 0 Optionaloptions : { event ?: "create" | "update" | "delete" } = {} Optionalevent ?: "create" | "update" | "delete" Returns Promise < void > Defined in module/models/item/class-model.mjs:441 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).
_ register On Actor InternalReturns void Defined in module/models/item/class-model.mjs:362 _ 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.
get Labels getLabels ( labels : any , __namedParameters ?: {} ) : any Parameters labels : any __namedParameters : {} = {} Returns any get Name getName ( asPlayer ?: boolean ) : string Parameters OptionalasPlayer : boolean = false Returns string
Abstractget Roll Data getRollData ( result : object ) : void Abstractprepare Dependent Data prepareDependentData () : 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 | ClassModel | 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 | ClassModel | undefined >
Promise for the update, update data object, or undefined (no update needed).
Abstractset Active setActive ( active : boolean , context ?: object ) : Promise < ClassModel > 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 Static Abstractmigrate Parent Data migrateParentData ( source : any ) : void Staticprune Data pruneData ( source : any ) : void
Active state as per what setActive would correspond with.