So in my game there's a battle segment. And because at this point in the MC is very weak and can barely attack. So my question is if there's a way to make it so one of the other characters in my party take the attack instead of the MC? Note that there's only two people currently in the party if that helps.
TL;DR: How to make another Player take the attack targeted toward MC
Theoretically, you could use the Special Flag "Substitute" in a class's Traits, and apply to person who's supposed to protect the MC.
By default, substitute only triggers if the actor is below 25% of their max HP, so I doubt it would be of much use in the described situation.
Unless there is a plugin I'm unaware of that can change that HP threshold...
True. A quick way to do that would be to edit line 2572 in rpg_manager, so that the bearer of the trait will target only the MC, but it would mean that the MC has to be changed with another actor later in the game when he/she is able to fight on their own. Otherwise, I'm not aware of a plug-in that does that either.
Couldn't you just script the battle to force the enemies to only attack the other party member instead of your main one? I mean, you wouldn't have the "Cover" animation or anything, but it functionally serves the same purpose. Just add in some dialogue about "Don't worry, I'll protect you, let me stand out front!".
Could probably even change the Target Rate of the main character to 0% for the duration of the battle via a state.
Yanfly has a plugin called Taunt which forces enemies to attack the character who used Taunt. With a little creativity I do believe you can force a teammate to Taunt when your custom event occurs in battle.