• Protected

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

    Parameters

    • res: {
          custom: string;
          value: { amount: number; operator: string; 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