Pathfinder 1e for Foundry VTT
    Preparing search index...

    Class BaseActorModelAbstract

    Base Actor

    Shared by all other actors

    Hierarchy (View Summary)

    Index

    General

    _rollData: any
    resources: any
    • get system(): this

      Returns this

      REMOVE BEFORE RELEASE

    • Experimental

      Callback for when the system thinks the item is fully ready.

      Parameters

      Returns void

    • Internal

      Parameters

      • error: boolean

      Returns void

    • Parameters

      • path: any

      Returns never[]

    • Returns void

    • Returns void

    Document

    • Internal

      Update Item Resource

      Parameters

      • item: ItemPF<BaseItemModel>

        the item to add to the actor's resources

      • Optionaloptions: { warnOnDuplicate?: boolean } = {}

        extra options

        • OptionalwarnOnDuplicate?: boolean

          Skips warning if item tag already exists in dictionary flags

      Returns boolean

      True if resources were set

    Extension API

    • Returns void

    • Prepare actor.changeFlags alterations.

      Returns void

    • Prepare changes specific to this actor type

      Parameters

      Returns void

    • Prepare data post embedded documents have been prepared.

      This is before changes and before prepareDerivedData()

      Returns void

    • Prepare data post change application.

      This is called inside prepareDerivedData()

      Returns void

    • Custom change targets for this actor type

      Returns string[]

    • Initiative rolling options

      Returns object

    • Generate generic labels.

      Returns object

    • Returns void

    • Actor appropriate token size

      Returns void | TokenSize