MV Reverse Yanfly Taunt Skill

Hi 🙂

I followed the tutorial http://www.yanfly.moe/wiki/Single_Target_Provoke_(MV_Plugin_Tips_&_Tricks) , for create a Provok skill :
1) Create a Provoked State 5Turns , with (in the Notes):
<Ignore Physical Taunt>
<Ignore Magical Taunt>
<Ignore Certain Taunt>

<Custom Action Start Effect>
// Get current action.
var action = user.currentAction();
// Check if action exists, for an opponent, and that the provoker isn't on the same team
if (action && action.isForOpponent() && origin.isActor() !== user.isActor()) {
action.setTarget(origin.index());
}
</Custom Action Start Effect>


2) Create a Provok Skill who's targeting All Ennemies, giving them "Provoked" State.
3) I just added a modification in the Provok's Skill Notes:
<setup action>
// Add the Provoker state.
add state 70: user, show
</setup action>


My State70 is a "fake" State who grants to Provok's User an icon symbolize he's taunting ennemies, in goal to show who's actor is provoking enemies.

Its working good :
My tank use Provok Skill=> all ennemies are provoked (and all of them got "provoked" icon) and all of their Single-Target Attacked are forced to target my Tank, and my tank got a "fake" Provoker's Icon for the same duration.

The taunt skill currently force the ENNEMIES (with Provoked State) TO USE their Single-target Skills against my user (the provoker).
BUT means taunt is dependant of ennemies : if an ennemy use dispell on himself or on his allies, he can cancel the taunt.

That why i want to link the taunt to my Provoker , and not to the provoked ones.
My real goal is to do the reverse process=>

The taunt skill must force the USER (with Provoker State) TO BE TARGETED by all ennemies trying to use Single-Target Skills against the party members. [And not force the provoked targets to focus my provoker user]
Like that, ennemies cannot dispel themselves, but they can cancel the Taunt if one of them dispel USER.

I started the reverse process:

1) I created a State "Provoker" (empty, yet, that why i ask help there ^^ )
2) I created Taunt skill (empty, yet, that why i ask help there ^^ ) who give to USER the "provoker" State.

But now, im stuck... How can i re-write/rework the YanFly Taunt Skill to my goal ? Or where i need to put it ?

Thank you for your help and your patience. (And sorry if my English is bad.. )
The taunt skill must force the USER (with Provoker State) TO BE TARGETED by all ennemies trying to use Single-Target Skills against the party members.
Like that, ennemies cannot dispel themselves, but they can cancel the Taunt if one of them dispel USER.
You're going about this in a confusing, backwards way.

What you describe is exactly what the original Yanfly Taunt plugin already does.

" <Physical Taunt>
<Magical Taunt>
<Certain Taunt>
These three notetags enable the database object of choice to have the
respective taunt mechanic against those types of actions. Physical taunts
will cause the user to aggro all physical type of actions from the rival
team. The same goes for magical taunts and certain taunts of their nature."
my god, I'm so stupid ... I've been stuck on it for hours while the solution was in front of my eyes: I was not following the right tutorial .....

Thanks for opening my eyes xD T-T

Original thread: https://forums.rpgmakerweb.com/threads/reverse-yanfly-taunt-skill.152694/