I forget the spell name, but it allows you to surround your units with fire, and anyone attacking them incures 3 points of damage.
The spell works as intended when it's one player unit vs. an AI unit.
However, when the AI swarms a player's unit, none of the AI units are inflicted with the 3 points of damage when they attack.