Human Shield Skill?

Hello everyone.

Currently trying to implement a certain skill for a character. The skill functions as such.

  • User uses the skill that targets one enemy.
  • Upon successful use, both the enemy and the user can not move for one turn.
  • The enemy that has been hit by that skill is forced to take all attacks that turn from enemies and allies alike.
Is a skill like this possible? I'd imagine using the Yanfly Taunt Plugin would be a good effect, but I don't know how to implement them taking attacks from their own allies. Thank you.
For that second step make a state that only last one turn and have it stop all actions for while inflicted. Have the skill in inflict the state 100% and in the the damage formula box put this in before the damage step: a.add_state(2);

The skill will now inflict the state on both the user and the enemy.
Thank you.

I'm more focused on implementing the third step since it's the more unique step. Adding a state to an enemy and the user was something I already had implemented. The main bulk of the skill comes from the third step that'll have all enemies and allies attacking the enemy, which I need to know in order for this skill to work.
Bumping. Do need this and I still can't find a way to implement it.
Bumping.
You can per-chance use a script?

Like maybe you can do it with Yanfly's battle engine and check if the target hit got the state mentioned above. If it does, attack the other affected party? That's all I got.
You can per-chance use a script?

Like maybe you can do it with Yanfly's battle engine and check if the target hit got the state mentioned above. If it does, attack the other affected party? That's all I got.
I can use scripts, yeah. Just doin't know how to code it effectively using Buff and States Core.
Bumping.

Original thread: https://forums.rpgmakerweb.com/threads/human-shield-skill.53718/