Continuous Inflict Wounds (3.5e Spell)
From D&D Wiki
|Casting time:||1 Sandard action|
|Saving Throw:||Will half|
When laying your hand upon a creature, you channel negative energy that deals 1d8+1 points of damage per round for a number of rounds equal to your caster level (max 10).
Since undead are powered by negative energy, this spell cures such a creature of a like amount of damage, rather than harming it.