Skill that make the user also get damaged after used it to kill an enemy

Hello, I'm confused what should I do, I want to make skill that can harmful for the user after cast, It's like sacrifice some HP to deal damage. What kind of system or what should I do to make that happen? thx
VisuStella's Skills and States Core lets you do that. It's one of the free plugins included in their sample game.

Original thread: https://forums.rpgmakerweb.com/threads/skill-that-make-the-user-also-get-damaged-after-used-it-to-kill-an-enemy.137209/