MZ Add State K-O 100% doesn't work?

Even on an enemy 100% susceptible to K-O.
I can put Add State K-O 1000% to the skill that it still doesn't work. It just won't apply the K-O state.
Is there any reason why such a thing would happen?
I'm using Visustella, if that helps.

1674501193484.png
A couple of ideas:
  1. Are you certain the target has no relevant State Rate or State Resist traits? It's possible the plugins you're using allow enemies to source traits from additional places.

  2. Are you sure the skill is hitting the target? Try temporarily setting the Hit Type to Certain Hit, just to see if that makes a difference. Certain Hit also ignores state rates, so if that works then also check the target's state rate for K-O.

  3. If you haven't already: turn off all your plugins, save your project, and test. If that fixes it, then it's something related to the plugins you're using.
During test, you can press F8 to show the dev tools. Make sure you're on the Console tab, then type this in there and press Enter:

$gameTroop.members()[0].stateRate(1)
This should show the death state rate (1 = 100%) for the first troop member (index 0, a.k.a. enemy #1).

You can also try:

$gameTroop.members()[0].isStateResist(1)
This will be true iff that enemy has a "State Resist: K-O" trait from somewhere.

And to check magic evasion, in case the skill is simply not hitting the target:

$gameTroop.members()[0].mev
Again, 1 = 100% for this.
Another question:
Is your K-O state the default state #1 or something else?

And if I remember correctly some of the action sequences have a temporary immortality effect to allow the completion of the action sequence before the skill can take effect, and depending on how that is programmed, the default check for HP might remove the death state if HP>0
$gameTroop.members()[0].stateRate(1)
1

$gameTroop.members()[0].isStateResist(1)
false

The skill didn't inflict Death with Add State Death +1000%.

Turning OFF Visustella-related battle plugins restored the death skill's normal functions.
So turning off Battle Core, CTB, and the subsequent 4-5 plugins depending on Battle Core.

In particular, if Battle Core is ON, the skill doesn't work, if it's OFF, the skill does work. So it's on Visustella it seems *sighs*
Not sure if there's a parameter in Battle Core causing this... *shrugs*
Is that common event an action sequence?
Nope.
Removing it doesn't fix the bug, anyway.

Original thread: https://forums.rpgmakerweb.com/threads/add-state-k-o-100-doesnt-work.154359/