Protection from Elements (NWN)

The target creature gains damage resistance 30/- against all elemental forms of damage. The spell ends after absorbing 40 points of damage from any single elemental type.