• A hook event that fires when a token's resource bar attribute has been modified.

    Parameters

    • data: { attribute: string; isBar: boolean; isDelta: boolean; value: number }

      An object describing the modification

      • attribute: string

        The attribute path

      • isBar: boolean

        Whether the new value is part of an attribute bar, or just a direct value

      • isDelta: boolean

        Does number represents a relative change (true) or an absolute change (false)

      • value: number

        The target attribute value

    • updates: objects

      The update delta that will be applied to the Token's actor

    • actor: documents.Actor

      The Actor associated with the Token

    Returns void