Pathfinder 1e for Foundry VTT
    Preparing search index...
    • Add class associations on level change.

      Called from ItemBasePF._onXOperation functions.

      Parameters

      • model: BaseItemModel

        Item system data from where to get the supplements.

      • actor: ActorPF

        Actor document to which add the items.

      • OptionalcurLevel: number = 0

        Current level, before the change.

      • OptionalnewLevel: number = 0

        New level, after the change.

      • Optionaloptions: { associatedClass?: string } = {}

        Additional options

        • OptionalassociatedClass?: string

          Value for system.class on the items to add if needed.

      Returns Promise<void>

      • pf1.documents.item.ItemBasePF._onCreateOperation
      • pf1.documents.item.ItemBasePF._onUpdateOperation
      • pf1.documents.item.ItemBasePF._onDeleteOperation