pf2e.fyi
From Pathfinder Impossible Magic, which isn't enabled.

Vampiric Spell

FEAT 4
Activity 1 action

Your magic drains the life from your enemy. If the next action you use is to Cast a Spell that deals damage, you gain temporary Hit Points equal to half the initial damage a single creature takes from this spell; calculate these temporary Hit Points using the creature that took the most damage from the spell. These temporary Hit Points last for 1 minute.

Pathfinder Impossible MagicORC