How to apply a cloak skill

I was wondering if there is a way to make a state that cloaks the user in flame or something so that when they're attacked by the enemy the enemy takes elemental damage. (fire in this example) Kind of like the counterattack skill but it would have different animation based on the element, and it would ideally do either a set amount of damage or damaged based on MATK

-Thanks
You could try this by combining a 2 Yanfly scripts:

State Animations
https://yanflychannel.wordpress.com/rmvxa/battle-scripts/state-animations/

Element Reflect
https://yanflychannel.wordpress.com/rmvxa/battle-scripts/element-reflect/

I did a search and @Ossra recommended using either Hime's "Counter Skills" script or Fomar's "Counter Attack Skills" script. I haven't used these myself, but they look like good suggestions - the only issue is that you might need some custom scripting if you want to have both regular counterattacks and this "firewall"-type counter both available in your game. If that's the case, and you don't see a way to do it with any existing script, then I recommend posting a request on the RGSSx Script Requests board.

The Yanfly scripts that @Thefirelion suggested won't work, unless I'm misunderstanding what they do. My impression is that Element Reflect allows for different counter rates against different elements, not that it lets you counterattack using elemental damage.
I did a search and @Ossra recommended using either Hime's "Counter Skills" script or Fomar's "Counter Attack Skills" script. I haven't used these myself, but they look like good suggestions - the only issue is that you might need some custom scripting if you want to have both regular counterattacks and this "firewall"-type counter both available in your game. If that's the case, and you don't see a way to do it with any existing script, then I recommend posting a request on the RGSSx Script Requests board.

The Yanfly scripts that @Thefirelion suggested won't work, unless I'm misunderstanding what they do. My impression is that Element Reflect allows for different counter rates against different elements, not that it lets you counterattack using elemental damage.

Well, it occurs to me that he/she could request a script addon that works with 1 of the 2 types of script (With the counter or the reflect)

logically, I would say to work with the reflect script, since it has implemented the method that detects the id of the element that the enemy used or that the actor uses.
But it is in the opinion of the scripters.
Ok, thanks to both of you, I'll check out Hime's scripts.
Thread closed IgnoreMe
Closing this thread as you wish, but if you need functionality that these scripts can't provide, don't be shy about posting a request on the Script Requests board!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-apply-a-cloak-skill.112633/