Function DoesDamageTypeGrantImmunity

  • Returns whether or not damage type should grant immunity. If an entry for provided damage type does not exist in DamageTypeGrantsImmunity, the value defaults to true.

    Parameters

    • damageType: DamageType

      The damage type being queried.

    Returns boolean

    Whether or not damage type should grant immunity.