Creating a lifesteal skill in RPG Maker MV

I'm attempting to create a lifesteal skill and placing it on a dagger weapon. However, the dagger is not applying the lifesteal at all after attacking with a Normal Attack. This is the formula I'm using thus far: c = a.atk * 4 - b.def * 2; a.gainHp(Math.round(c * 0.08))

This is where I received the formula:

Any other screenshots I must take for reference? Any help would be greatly appreciated, thank you!
Why do you have the skill recover 100% HP?

As to the actual issue, if you're using Add Skill to put it on the weapon, that will not work. Add Skill tosses the selected skill into your skill list as a usable skill in battle. If you want to have the dagger use the effect by default, you need to replace it's normal attack with Lifesteal.

I recommend checking out Aesica's stuff, specifically her Command Control.

Yanfly also has something for this, if you prefer to go that route.
Use Yanfly's Life Steal plugin
Here, since the guy above didn't feel like linking you.
Why do you have the skill recover 100% HP?
I thought I had it set up so the skill would hit 100% of the time through the auto attack hit and the formula ( c = a.atk * 4 - b.def * 2; a.gainHp(Math.round(c * 0.08)) ) with the 0.08 representing 8% of lifesteal. Maybe I am mistaken? I'm still learning; thank you for bearing with me.

Here, since the guy above didn't feel like linking you.
I appreciate this Sword_of_Dusk, and 41728280. I'll give this a shot and report back what I've learned.
Yo, it worked! Thank you guys so much!

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-lifesteal-skill-in-rpg-maker-mv.123141/