Target rate issue.

In my project i have a tank character to the be party punch bag but i'm afraid it may be boring all boss battles the tank role.
The tank character have optional gear and skills to increase its target rate.
I know a state can be removed from a actor by a skill but not if a gear have such state.
I would like if possible a piece of script which makes an enemy ignore actors target rate of equipment.
Wait, you're saying you want bosses to ignore your core mechanic of a tank?

The problem is not that you need a plugin, you need a better way to implement your threat system because ignoring your main mechanic will confuse the players and break the game even further.
Do it the other way - have the boss use a skill to add a state to the tank, and have that state reduce the target rate of that actor.

That way the player will also know why the tank suddenly doesn't work anymore.
This is absolutely a legitimate plugin request (I can see the need you have for it, and I don't think there's any way to handle it without a plugin or similar scripting). I want to recommend Yanfly's Taunt plugin as a possible substitute in case no one fulfills your request - although it doesn't work directly with Target Rates or probabilities, it does allow you to have equipment (etc.) that draws enemy fire, and will allow you to set notetags for your bosses to completely ignore these Taunts if you want to.
@Andar I did what you recommended having all actors target rate 0 and enemy instead just targeted the first actor regargless of whom.
@Wavelength It works if i replace target rate by the taunt.
Tks for the replies.
I did what you recommended having all actors target rate 0 and enemy instead just targeted the first actor regargless of whom.
Of course it did - because you didn't do what I said. I said to reduce the target rate for the tank, not for all actors. And target rate 0% means that actor cannot be targeted, but if all actors can't be targeted then of course that defaults to the first actor.

Target rate is only displayed as a percentage because of editor limitations - the engine uses the number for weight calculations, giving each actor a relative chance of being targeted compared to the other actors.

Original thread: https://forums.rpgmakerweb.com/threads/target-rate-issue.76585/