Negate Immunities

Is there any way to make an item or status effect that allows the user to ignore the target's immunities? For example, the enemy is immune to fire but with the immunity negation, it will do neutral damage.
You'll need a plugin that can execute code during a skill. If you're using VisuStella products, their Battle Core has notetags for it; otherwise, you can use my Eval Tags plugin.

With my Eval Tags, you'd give the skill the notetag:
Code:
<Action Apply Eval>
if (skill.calcElementRate(target) == 0)
{
    value = skill.evalDamageFormula(target);
    if (target.result().critical)
        value = skill.applyCritical(value);
    value = skill.applyVariance(value, skill.item().damage.variance);
}
</Action Apply Eval>

That should reproduce the original damage calculation of the skill ignoring the target's element rate, IFF that rate is 0.

Just to point out the logic of that, it means a target who has an element rate of, say, 50% will end up taking less damage than a target that's immune.

If that's what you want, there ya go.
Is there any way to make an item or status effect that allows the user to ignore the target's immunities?
if you want a non-plugin approach, instead of making the enemies have an element rate of 0% innately, you could use a troop event to sneak a state on them with the trait instead. that way, if you want a skill that removes immunities, you can have the skill remove said states.

another approach could be using a plugin that gives you passive states like the visustella one, use those to grant enemies immunities, and then give them all a condition that the battler shouldnt have the "immunity negation" state active on them

Original thread: https://forums.rpgmakerweb.com/threads/negate-immunities.171052/