"Our graves and tombs must be safe from the disgusting grasp of the necromancers!"Necromancy Ward is a third-level nature magic spell in Heroes of Might and Magic IV that costs five spell points and prevents any Raise or Animate Dead spell from working for the duration of the combat. It affects all targets on the Combat Map, including dead ones.
In the situation where an opposing necromancer (or Magi) will be hindered by not being able to cast either of these spells then this is the spell for you. Otherwise it's not very useful.