Spell Immunity : Necromancy will stop most of their Rays, IIRC. Cast Pro-Electricity if you're not sure.
However... be sure to cast Spell Shield beforehand, lest one of the monsters' dreaded Anti Magic Rays will dispel all you buffs in a single go.
__________________
In memory of Ilan Ramon - the first Israeli astronaut.<br />
<br /><br />[url]\"http://members.chello.nl/~j.vanthull/BG2SR/Home.htm\" target=\"_blank\">BGII Spells Reference</a> - everything you ever wanted to know about spells!