Pathfinder 1e for Foundry VTT
    Preparing search index...

    Function getBuffTargetDictionary

    • Internal

      Assembles an array of buff targets and their categories, ready to be inserted into pf1.applications.CategorizedItemPicker.

      Parameters

      • type: "buffs" | "contextNotes" = "buffs"

        Type of targets to retrieve

      • context: { actor?: Actor<"base" | ModuleSubType>; item?: Item<"base" | ModuleSubType> } = {}

        Additional context

        • Optionalactor?: Actor<"base" | ModuleSubType>

          Actor for which to specifically get buff targets.

        • Optionalitem?: Item<"base" | ModuleSubType>

          Item on which this change is on.

      Returns CategorizedItemCategory[]