A plugin that limits the maximum damage taken?

Hi !

I am making a special enemy.

This enemy has a fixed health of 1000, but does not take up to 100 damage per attack. (Of course, damage from 0 to 99 is taken as it is.)

I want to make these enemies.
Are there any plugins that limit the maximum damage this receives?

I tried using Yanfly's Damage core, but this didn't work.
Use Buffs & States Core + Auto Passive States and give the enemy a passive state with the following notetag:

Code:
<Custom React Effect>
value = Math.min(value, 100);
</Custom React Effect>
Use Buffs & States Core + Auto Passive States and give the enemy a passive state with the following notetag:

Code:
<Custom React Effect>
value = Math.min(value, 100);
</Custom React Effect>

Thank you!

In fact, I was making and using different abilities.

Maybe the answer was also from you.

If the damage is less than 1000, the damage must be exceeded to get damage.
I was suffering because I couldn't use it because it had a conflict with the selection control.

thank you.

Original thread: https://forums.rpgmakerweb.com/threads/a-plugin-that-limits-the-maximum-damage-taken.124832/