Create a Macro to roll one of various checks for an actor

  • Parameters

    • type: string

      The type of macro to create

    • uuid: string

      The actor's UUID

    • slot: number

      The hotbar slot to use

    • Optionaldata: object

      Additional context data

    Returns Promise<void | User>

    The updated User, if an update is triggered