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

    Parameters

    • combat: Combat

      The Combat encounter which is advancing or rewinding its round

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

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

      • round: number

        The new 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