Trying to create a skill that make enemies take damage when they hit you

Hey ! I'm new here (sorry if i somehow posted in the wrong channel, i'm kinda lost ^^")

I was just wondering if you have some ideas to create a magic skill which like create spine on a character and when
enemies hit him he takes damage but enemy takes also some damage from the spine

if you know a way to do that or a plugin who could help me, i'll really appreciate that ^^

(i'm on rpgmaker mv)
Welcome to the forum, @Synechron! The General Discussion board is for discussion about the game-making process (finding team members, staying motivated, crafting a story, etc.), not for how-to questions about RPG Maker itself.

Normally, you would want to post on the RPG Maker MV Support board for how-to questions, but in this case I am going to move your thread to Plugin Requests instead, because what you're asking about is something that can only be (easily and gracefully) done by making use of Plugins.

Here's a good place to start - a couple of Yanfly's MV plugins can be used to create this kind of return damage effect, as described in his "Thornmail" Tips and Tricks video. I believe both of the required plugins for that effect are free. If you simply want to attach the effect to a magic skill, rather than a piece of armor, I think you can skip the whole Auto Passive States part, and simply create the return-damage state (as shown in the video with Buffs & States Core) and have the skill apply that state to the target that it is protecting.
Welcome to the forum, @Synechron! The General Discussion board is for discussion about the game-making process (finding team members, staying motivated, crafting a story, etc.), not for how-to questions about RPG Maker itself.

Normally, you would want to post on the RPG Maker MV Support board for how-to questions, but in this case I am going to move your thread to Plugin Requests instead, because what you're asking about is something that can only be (easily and gracefully) done by making use of Plugins.

Here's a good place to start - a couple of Yanfly's MV plugins can be used to create this kind of return damage effect, as described in his "Thornmail" Tips and Tricks video. I believe both of the required plugins for that effect are free. If you simply want to attach the effect to a magic skill, rather than a piece of armor, I think you can skip the whole Auto Passive States part, and simply create the return-damage state (as shown in the video with Buffs & States Core) and have the skill apply that state to the target that it is protecting.
Thanks a lot i'll try that ! !

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-create-a-skill-that-make-enemies-take-damage-when-they-hit-you.137551/