Hey! I'm fairly new to all this, so I think I might be missing something. I tried to write a react effect that functions basically as a 1-hit invulnerability buff. I placed this notetag in a state called "Invulnerable":
<Custom React Effect>
if (this.isHPEffect() && value > 0) {
value = 0;
target.removeState(11);
target.clearResult();
}
</Custom React Effect>
But this effect didn't go off. I then simplified it to just reducing the value to 0, and still nothing. Finally, I disabled all of my plug-ins except for YEP_CoreEngine, YEP_X_CoreUpdatesOpt, BattleEngineCore, SkillCore, BuffStatesCore, and AutoPassiveStates. Still nothing.
What could I be overlooking? Let me know if more info is needed.