MV Conditional state application based on skill user (RPG Maker MV)

I'm trying to create a system where a certain skill only applies a state if it's used by a specific character (let's call them Character X). If the same skill is used by any other character, it should not apply that state.


The reason is that I'm designing a "DoT-based" character (focused on damage over time), but in my game, all skills are shared — no character has exclusive skills in their arsenal.


Is there a way to conditionally apply a state based on the user of the skill in RPG Maker MV? I’d really appreciate any help or ideas — plugin-based or otherwise.


Thanks in advance!
I think you could probably do this with Effect Conditions from Himeworks.

It does make me wonder why you actually need it to be the same skill though? It might be easier to just make two different versions of the same skill and restrict one to the specific character, while other characters only learn the other.
Simple way to do it via the damage formula:

1. Make skill. Have it recover HP and add a state.
The HP part is just to open the damage formula to us.

2. Add the state in the effects field but make it ONLY have a 0% chance to be added.
As it won't ever add the state, it doesn't matter what state it is.

3. Put the actor specific info in the formula field:
if(a.actorId == z) {b.addState(x)} else {b.addState(y) ;0
(where z is the number actor ID you need as shown in the database and x and y are the state IDs you want added. 0 is the amount of healing you want, so if healing is part of the skill, add the formula there INSTEAD of the 0 but note the semicolon [;] )

Note that this COULD have adverse affects if you use any auto control battlers.
Also note that this can't be used if enemies will use the skills as they don't have "actorId" data.
Just a note: it should be actorId() rather than actorId in that formula.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-state-application-based-on-skill-user-rpg-maker-mv.179127/