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

    Function parseResistancesProtected

    • Protected

      Helper function for actor and item energy resistance and damage reduction feedback.

      Parameters

      • res: { amount: number; types: string[] }[]

        Resistance or reduction data from actor or item

      • resistanceType: "dr" | "eres"

        Value to check resistances for.

      Returns Record<string, string>

      Entry to label mapping of resistances or reductions.

      • Provide more data with the return value