Gird the Spirit 2014
1st-level abjuration
Your magic protects the target creature from the lifesapping energies of the undead. For the duration, the target has immunity to effects from undead creatures that reduce its ability scores, such as a shadow's Strength Drain, or its hit point maximum, such as a specter's Life Drain. This spell doesn't prevent damage from those attacks; it prevents only the reduction in ability score or hit point maximum.
Source: Deep Magic for 5th Edition (Kobold Press) · License: OPEN GAME LICENSE Version 1.0a details