Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Function applyTokenStatusEffect

    • A hook event that fires when a token foundry.canvas.placeables.Token should apply a specific status effect.

      Parameters

      • token: canvas.placeables.Token

        The token affected.

      • statusId: string

        The status effect ID being applied, from CONFIG.specialStatusEffects.

      • active: boolean

        Is the special status effect now active?

      Returns void