Designing Skills which cost HP

Is there a way to design Skills which cost HP without having to use Yanfly's Skill Cost Manager script?
You could run an event at the end of each turn that checks whether the user has enough HP to cast the Skill, then if they do, unlock that Skill, if they don't seal that Skill. Then remove the HP for the cost by linking it with a Common Event. Not the most elegant solution, but it would function just fine without needing a plugin to get it done.
I'm impressed! I'll give it a shot and reply here if I come across any issues. Thank you!
There's a plugin in the DLC folder that came with the program that can do this for you.
There's a plugin in the DLC folder that came with the program that can do this for you.
I'll look into it when I get home. For reference for anyone who stumbles across this thread, do you know the name of this plugin?

Original thread: https://forums.rpgmakerweb.com/threads/designing-skills-which-cost-hp.131927/