FFRK styled Retaliate

Yep, yet another "How can I recreate this" thread.


In Final Fantasy Record Keeper (FFRK), Retaliate counter attacks physical attacks from both the enemy and player side for 5 seconds (?). Other party members can attack the Retaliator to make their attack become the retaliator's attack. Double cut (Attack physically twice) against the retaliator will help them counter attack twice. Basically I want to recreate all of this. Any ways how?
This plugin is a good place to start:


http://yanfly.moe/2016/03/11/yep-82-counter-control/


First of all, to use that plugin, you'll also need Yanfly's Battle Core Engine.  With the counter control, you can expand how characters counter attacks.  I'm not certain what the skill entails, but Counter Control will likely be needed to create the effect.  And maybe some Javascript.
I've failed to get it to work with YEP plugin, it may need some messing around with the Lunatic Code. 


While we're at it, lemme know if you are able to create the Reflect mechanic in FFRK since I'm also making a game with similar mechanic to FFRK xD

Original thread: https://forums.rpgmakerweb.com/threads/ffrk-styled-retaliate.63915/