How to increase offensive Add State % during a transformation state?

Hi everyone,
I’m running into a limitation in RPG Maker MZ and I’d like to see if there’s any built-in workaround (plugin-free if possible) before I commit to a skill duplication system.

In my project, all ailments in the database have a base Add State chance of 100%.
Actual infliction odds are determined by the target’s State Rate (defensive) and LUK difference, as normal.
Example skill: Needle Rot — Add State: Rot 40%.

What I want to do:


When the actor [Ansel] is under a special transformation state called Resonance (State ID 216), I want his Rot Infliction skill to have +30% offensive chance. [That would make his skill Needle Rot, have a total of 70% chance instead of the base 40%.
So:
Base skill: Rot Infliction = 40% Add State
During Resonance [transformation state]: should become 70% Add State

What I’ve learned so far:
  • State Rate in traits is defensive only — it affects how likely the holder is to receive a state, not how well they inflict it.
  • There’s no built-in “State Infliction Rate” trait that works offensively for all skills.
  • “Attack State” only applies to the normal Attack command, not arbitrary skills.
  • Without a plugin, the only method I can think of is:
    • Duplicate the skill with the boosted Add State %
    • Hide/swap it in when Resonance is active
    • Seal/hide the base skill
My questions:
  1. Is there any vanilla way (traits, features, database settings, eventing) to temporarily boost the offensive Add State % for a skill based on a state the user has?
  2. Has anyone found a creative eventing trick for this that avoids skill duplication?
  3. Would common events tied to the skill be able to alter the success rate in real time without replacing the skill entirely?
Additional constraints:
  • I’m using VisuStella’s Battle Core and Skills and States Core, so I have access to its notetags, but I’m avoiding adding new state-handling plugins to prevent clashes.
  • I’m fine with JavaScript notetags if the logic can live inside the skill or state itself.

Thanks in advance — hoping someone has found a neat workaround for this limitation.
Im not entirely sure if it works for MZ, but you could try using Hime's Effect Condition plugin, give the skill a 40% and a 70% state add chance, and restrict the skill to choose one or the other if the user has the state.

Otherwise, you could use the Visustella Battle Core's already existing skill notetags to apply the state instead. The reason I suggest the first over the second is because itll automatically factor everything like luck difference and state rate. Your code to apply it with VS would need everything manually checked
Hi @CeaCeaCea
If you use VS_Battlecore, you can use JS code in skill notetags, as provided for by the plugin.

I invite you to carefully review all the possibilities available with the plugin here.

The goal here is to create a skill whose application rate changes depending on your character's status.

The simplest way is to create a skill that hits 100% of the time, and this skill will trigger a post-application effect in JS thanks to

Code:
<JS Post-Apply>
 code
 code
 code
</JS Post-Apply>

So create this spell (100% hit rate, and don't put the status application in the designated tab; we'll put it directly in the JS code).

Paste this note into your skill:
JavaScript:
<Setup Action>
action animation: user
wait for animation
</Setup Action>

<JS Post-Apply>
const RODIN = 216;   //  ID of state "RODIN"
const ROT = 4;    //  ID of state "ROT"


// Rate choice
let p = 0.40; // if not rodin
if (user.isStateAffected(RODIN)) p = 0.70; // if rodin


// random and application
if (Math.random() < p) {
  target.addState(ROT);
}
</JS Post-Apply>

<Finish Action>
clear battle log
</Finish Action>
“Attack State” only applies to the normal Attack command, not arbitrary skills.
This is in fact not entirely true. You can make an "Attack State" apply to any skill, simply by creating an "Add State" effect set to "Normal Attack":

AttackStateNormalAttack.png


That said, I'm not sure if this actually helps with your issue. It probably depends on whether you use Attack State for anything else?
Hi @CeaCeaCea
If you use VS_Battlecore, you can use JS code in skill notetags, as provided for by the plugin.

I invite you to carefully review all the possibilities available with the plugin here.

The goal here is to create a skill whose application rate changes depending on your character's status.

The simplest way is to create a skill that hits 100% of the time, and this skill will trigger a post-application effect in JS thanks to

Code:
<JS Post-Apply>
 code
 code
 code
</JS Post-Apply>

So create this spell (100% hit rate, and don't put the status application in the designated tab; we'll put it directly in the JS code).

Paste this note into your skill:
JavaScript:
<Setup Action>
action animation: user
wait for animation
</Setup Action>

<JS Post-Apply>
const RODIN = 216;   //  ID of state "RODIN"
const ROT = 4;    //  ID of state "ROT"


// Rate choice
let p = 0.40; // if not rodin
if (user.isStateAffected(RODIN)) p = 0.70; // if rodin


// random and application
if (Math.random() < p) {
  target.addState(ROT);
}
</JS Post-Apply>

<Finish Action>
clear battle log
</Finish Action>

Hi, @alasth This seems to work! A little more complex than I was assuming but hey if it works it works! Thanks for this!


This is in fact not entirely true. You can make an "Attack State" apply to any skill, simply by creating an "Add State" effect set to "Normal Attack":

View attachment 347440

That said, I'm not sure if this actually helps with your issue. It probably depends on whether you use Attack State for anything else?
Hi, @Solar_Flare -- is this true? this might be the best workaround vanilla, plugin-free available then. I have this character who, during their transformation state, has an "Attack Add State : Name" so pretty much I can't really use this way but it does solve the issue-- only if I don't have any use for Attack State-- which I do XD But thanks for this info! Might be useful in the future <3

Original thread: https://forums.rpgmakerweb.com/threads/how-to-increase-offensive-add-state-during-a-transformation-state.179578/