[Bug] Life drain works on invulnerable targets.
from
Demigod Forums
If you have life drain on attack, swinging at an invulnerable target (Oak shield) will still result in you gaining health on each attack.