• A hook event that fires when the turn of the Combat encounter changes. This event fires on the initiating client before any database update occurs.

    Parameters

    • combat: documents.Combat

      The Combat encounter which is advancing or rewinding its turn

    • updateData: { round: number; turn: number }

      An object which contains Combat properties that will be updated. Can be mutated.

      • round: number

        The current round of Combat

      • turn: number

        The new turn number

    • updateOptions: { advanceTime: number; direction: number }

      An object which contains options provided to the update method. Can be mutated.

      • advanceTime: number

        The amount of time in seconds that time is being advanced

      • direction: number

        A signed integer for whether the turn order is advancing or rewinding

    Returns void