Hitpoint leech system

I request/suggest making a health system where you can get health by inflicting damage to NPC’s.

I.e. zombie has 50 health and you damage him by 45, you get 45 health or a multiplier of your base damage - multiplier is 0.2 so you get 9 health.