Gird the Spirit
1st-level abjuration
Casting Time: 1 reaction, which you take when you or a creature within 30 feet of you is hit by an attack from an undead creature
Range: 30 feet
Components: V, S
Duration: 1 minute
Your magic protects the target creature from the life-sapping 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.