OptionalcontinuousOptionalflavorOptionaloperatorOptionalpriorityReadonlyupdateOptionalvalueCSS Template Class
Does this target any kind of AC?
Is deferred?
Deferred changes are evaluated only when rolled.
Does this change distance of something?
Affects mostly presentation.
Is simple?
Simple changes are evaluated before roll data becomes available.
Either parent name or flavour text.
Quasi-unique ID within actors change set to avoid conflicts
This is not actually guaranteed to be unique, just more so than base id
InternalSafely apply this change to an actor, catching any errors.
The actor to apply the change's data to.
Optionaltargets: string[] = nullProperty paths to target on the actor's data.
Optionaloptions: { applySourceInfo?: boolean } = {}Optional options to change the behavior of this function.
OptionalapplySourceInfo?: booleanWhether to add the changes to the actor's source information.
Applies this change to an actor.
The actor to apply the change's data to.
Optionaltargets: string[] = nullProperty paths to target on the actor's data.
Optionaloptions: { applySourceInfo?: boolean; rollData?: object } = {}Optional options to change the behavior of this function.
OptionalapplySourceInfo?: booleanWhether to add the changes to the actor's source information.
OptionalrollData?: objectRoll data
Applies this change's info to an actor's sourceInfo.
Info is only added if either the modifier type allows stacking or the value is higher than the previous value.
If the modifier type is not stacking and this change's info is added, existing and now ineffective info entries are removed.
The actor to apply the change's data to.
Actor instance
OptionalparentStatic Readonly InternalmetadataMetadata mimicking Foundry documents
Parent document
Change ID
Retrieve UUID
Relies on pf1.documents.item.ItemBasePF.getEmbeddedDocument | Item#getEmbeddedDocument() override to function with fromUuid() and similar functions.
InternalPrepare in-memory data.
Update this change.
Update data
Additional options
Update context
StaticcreateCreates a change.
The resulting changes, or an empty array if nothing was created.
Staticprune
Change datamodel