• Internal

    Determine if buff target or buff target category is valid for the defined actor and item.

    Parameters

    • data: object

      Buff target or category data

    • options: { actor?: Actor; item?: Item } = {}

      Additional options

      • Optionalactor?: Actor

        Actor to test

      • Optionalitem?: Item

        Item to test

    Returns { actor: boolean; item: boolean; valid: boolean }

    • Validity statement