Possibility of making certain states worse for certain characters?

Say for example, I have a Burn state, and I create a class that just so happens to be weak to Fire. Like, Element Rate is 200% for them. Is it possible for, in regards to this SPECIFIC character, that Burn can be worse for them than any other character, like normally it's HP Regeneration -5% but for that specific character it's 10%? And is it possible for this to be reversed so that the state is WEAKER against certain characters? Like, a Poison state has HP Regeneration -10% normally, but for this specific character it's -5% or whatever?


I know, this sounds cruel.
Say for example, I have a Burn state, and I create a class that just so happens to be weak to Fire. Like, Element Rate is 200% for them. Is it possible for, in regards to this SPECIFIC character, that Burn can be worse for them than any other character, like normally it's HP Regeneration -5% but for that specific character it's 10%? And is it possible for this to be reversed so that the state is WEAKER against certain characters? Like, a Poison state has HP Regeneration -10% normally, but for this specific character it's -5% or whatever?


I know, this sounds cruel.

As far as I know, there is no way to do that, but to make any characters who are weak to fire take extra damage from burn, here's how I did it:


Required Plugins: YEP_BuffsStatesCore: http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/


<Custom Regenerate Effect>


//Create variables to store damage and damage multiplier


var dmg = [insert damage formula]l;


var mult = target.elementRate([insert id of fire element]);


//Multiply the damage by the damage multiplier


dmg = Math.round(dmg * mult);


//Apply damage


target.gainHp(-dmg);


target.startDamagePopup();


target.clearResult();


//Cause target to play death animation if it is dead


if (target.isDead()){


   target.performCollapse();


}


</Custom Regenerate Effect>
No way to do what?


And if I put this into States, this'll ONLY effect that particular character if it's inflicted, it doesn't apply to everybody right?
I don't have RPG Maker on this computer, so I cannot try it. But it should be possible with lunatic mode of Yanfly's plugins :


If target = $Data.GameActor(yourweakactor)


then -10%


Else then -5%


Of course this will not work, you have to make it with lunatic mode, but you should get the idea.

Original thread: https://forums.rpgmakerweb.com/threads/possibility-of-making-certain-states-worse-for-certain-characters.63228/