yanfly skill core is required, but also lunatic code to create that effect.
you can find the
mirror effect on yanfly tips and trick.
there are more usefull tricks, but also alot of usefull lunatic code.
you might need more yeop plugins in order to make it work because
those will be "required".
I cant tell if there is a paid plugin in it, unless you have them all.
This tips and tricks looks like copying a move the opponent used. It looks similar enough that with a few tweaks it MIGHT work. Unfortunately for me my javascript sucks.
So it looks like the code is applied to a Passive State, and then a move. The code for the state is:
Code:
<Custom Action Start Effect>
var action = user.currentAction();
user._lastUsedSkill = user._lastUsedSkill || 1;
if (action && action.isSkill()) {
user._lastUsedSkill = action.item().id;
}
</Custom Action Start Effect>
Which looks like it gets the last used move the user uses and stores it so that when you use a Mirror Move skill, its code calls on that action, through this code:
Code:
<After Eval>
var id = target._lastUsedSkill || 1;
BattleManager.queueForceAction(user, id, -2);
</After Eval>
This calls the last skill that the targeted enemy used and makes the user use it. But the skill I am planning to do specifically deals back double the damage that was dealt to them. I don't think I need a passive state to deal with that. Maybe only Skill Core. Like maybe it could do a Before Eval that checked the damage dealt and then applies that to the damage calculation. I might be wrong, but it might work.
EDIT: No, I'm an idiot. Use Passive States to keep track of last damage taken through Buffs and States Core with the Custom Respond Effect tag, and then use a Pre-Damage Eval to turn the damage into the damage taken into the damage given times two.
EDIT 2: I think I got it figured out, the only problem I have right now is checking whether or not the skill is a Physical or Magical attack, can anyone help?
EDIT 3: No, I don't got it. I am stuck once again and require assistance >.<