Hierarchy

  • TokenDocument
    • TokenDocumentPF

Constructors

  • Parameters

    • Optionaldata: any

      Initial data provided to construct the Token document (default: {})

    • Optionalcontext: any

      The parent Scene document to which this Token belongs

    Returns TokenDocumentPF

Properties

detectionModes: undefined | any[]

Methods

  • Internal

    Parameters

    • data: object

      Creation data

    • context: object

      Context

    • user: User

      Triggering user

    Returns Promise<void>

  • Internal

    Parameters

    • changed: object

      Changed data

    • context: object

      Context

    • user: User

      Triggering user

    Returns Promise<void>

  • Hijack Token health bar rendering to include temporary and temp-max health in the bar display

    Parameters

    • barName: string

      Bar name

    • Optionaloptions: {
          alternative: undefined | string;
      } = {}

      Additional options

      • alternative: undefined | string

        Alt bar path to use

    Returns null | object

    • Attribute to be displayed if any Synced with Foundry v12.331
  • Prepare data related to this Document itself, before any embedded Documents or derived data is computed.

    Returns void

  • Get an Array of attribute choices which could be tracked for Actors in the Combat Tracker

    Parameters

    • data: any
    • path: any[] = []

    Returns TrackedAttributes