Making enemy immune to critical hits?

Hello everyone. So in my game, there is a point in the story where the characters are fighting an enemy whom is supposed to be immune to all damage. In fact the battle is a scripted loss. There are supposed to be a few turns of dialogue with the characters attacking but realizing that nothing they do works. Eventually it leads to the enemy using an "insta death" on the characters.

I managed to make the enemy immune to all attacks by setting the elemental rates to 0 but the problem that I recently discovered is that critical hits still bypass it and do damage even though the enemy is supposed to be immune to everything. This messes with the narrative of the enemy's ability.


critquestion.PNG


As you can see here I assume I made it so that the enemy would null all damage whether it be elemental or physical.(And yes, I see ice twice. One of those was supposed to be another element but I goofed something up while I was adjusting for a screenshot, but that's irrelevant)




Anyway I even set the critical evasion as high as I could at some point but tested it only to find out that crits are still possible. Is there any way to make it so that the enemy cannot be affected my critical hits? Thanks in advance.
Are you using any plugins? I would have thought that adding the CEV would have been enough, but I can't check what exactly the base engine does with it now

You could try adding an invisible state to the player's party that drops their crit rate via a troop event if the enemy can still be crit with all that CEV
Are you using any plugins? I would have thought that adding the CEV would have been enough, but I can't check what exactly the base engine does with it now

You could try adding an invisible state to the player's party that drops their crit rate via a troop event if the enemy can still be crit with all that CEV
I tested it with both regular attacks and skill attacks. The regular attacks took longer to get the crits but even with the crit evasion really high the enemy was still susceptible to them every now and then.

I also did set a skill to 100% crit an enemy using the critical control plugin which as expected landed a crit every time. Though this also meant that the enemy was still able to be hit by them. Its more or less a nitpicky kind of situation but I would prefer to make sure that there is NO chance of getting any sort of damage off on this enemy in this particular battle. Even on the off chance of a playthrough someone might get a possible critical hit.

But I didn't think I've tried lowering the party's crit rate. I could possibly try that and just hope that that combined with the enemy's crit evasion will do the trick.
Certain hits ignore a lot of settings as they are....certain. Easiest way is to give the character enough HP that even if you do damage its not enough to win.
Certain hits ignore a lot of settings as they are....certain. Easiest way is to give the character enough HP that even if you do damage its not enough to win.
The only problem is that taking any damage at all would sort of mess with the point of the enemy being seemingly invincible. But I'll mess around with a few things first and see what can be done. Worst case scenario is I'll just set him for max health and just lower every possible chance of him taking a critical hit.
What plugins are you using?

You mentioned (yanfly's?) Critical control, but I dont think that plugin nor the base engine lets attacks ignore element/physical/magical damage rates when they crit.
Also you didn't mention certain hits yourself, but are the skills in question actually set to be certain hit?
What plugins are you using?

You mentioned (yanfly's?) Critical control, but I dont think that plugin nor the base engine lets attacks ignore element/physical/magical damage rates when they crit.
Also you didn't mention certain hits yourself, but are the skill in question actually set to be certain hit?
Yeah I am using Yanfly's critical control plugin. The skills themselves are not certain hit. They have normal attack accuracy and there's only two attacks in the game that are certain hit(outside of stat lowering skills) and those two come later in the game.
If you have Yanfly's plugins, why don't you just give it a state? You can either apply the state via troop event on turn 0, or make it a passive state on the enemy.

Code:
<Custom React Effect>
value = 0;
</Custom React Effect>
Doing just say 100 damage to 99999 HP still feels seemingly invincible.

Though with that AGI of 999 and the only skill that one skill listed, why the party even getting a turn?
If you have Yanfly's plugins, why don't you just give it a state? You can either apply the state via troop event on turn 0, or make it a passive state on the enemy.

Code:
<Custom React Effect>
value = 0;
</Custom React Effect>
It didn't even occur to me that crits can be worked into states until recently, so to answer your question I have no idea. But I'll give it a try and see if it works.
Doing just say 100 damage to 99999 HP still feels seemingly invincible.

Though with that AGI of 999 and the only skill that one skill listed, why the party even getting a turn?
For drama related reasons, the party attacks the enemy for 4 turns straight with each strike doing no damage. The enemy does not hit the party with the insta death until the 5th turn. Each turn also featured a line of dialogue from the enemy. But with each turn there was also a chance of the party getting a crit. Either way, I'll try the above method. If it doesn't work I'll think of something else.
It didn't even occur to me that crits can be worked into states until recently, so to answer your question I have no idea. But I'll give it a try and see if it works.
The critical portion is irrelevant. The value variable provided by the Buffs and States Core is the damage the battler is about to take.

If you set it to zero, it doesn't matter what element it was, whether it was a critical, certain, physical, or magic hit, whatever...zero is zero.
As a player, 4 turns with a party no damage is actually...kinda boring. I think you can do drama with less turns honestly. In fact you will probably get players complaining of wasting items on it not knowing they can't hurt it.

If the player is solo it might work. But I find it best to make it less turns overall. That way you don't get people complaining of using their only revive item up on an unwinnable battle and being stuck later.
The critical portion is irrelevant. The value variable provided by the Buffs and States Core is the damage the battler is about to take.

If you set it to zero, it doesn't matter what element it was, whether it was a critical, certain, physical, or magic hit, whatever...zero is zero.
Yup, this code worked. Thanks a bunch! One day I hope to actually learn this stuff myself.

As a player, 4 turns with a party no damage is actually...kinda boring. I think you can do drama with less turns honestly. In fact you will probably get players complaining of wasting items on it not knowing they can't hurt it.

If the player is solo it might work. But I find it best to make it less turns overall. That way you don't get people complaining of using their only revive item up on an unwinnable battle and being stuck later.
Well, the enemy does flat out state that he can't be hurt in any way, at the beginning of battle. In fact after hearing that if the player chooses to waste any items on trying to attack him that would kind of be on them. He also doesn't can't actually hurt you until the very last turn in which case is a scripted instant death as part of the story(the player get back up at the end of battle and continue the story).

However I will agree that the number of turns might be a bit much. Maybe I'll drop it down to like two turns or something.
I merged your two posts, as we prefer that to be one post instead of two posts back to back.

The quote feature can get weird with that, I know.

As for the turns, that is something to solve in testing with players probably. For now I'd say keep it in mind, and see what others think.
I merged your two posts, as we prefer that to be one post instead of two posts back to back.

The quote feature can get weird with that, I know.

As for the turns, that is something to solve in testing with players probably. For now I'd say keep it in mind, and see what others think.
Thanks, that actually makes a lot of sense. Easier to see them merged and I should really start doing that.
Also I actually kind of agree with you tho. I could maybe just have it be like two turns before the scene moves along. It still gets the point across but also won't make people sit through so many turns.

Original thread: https://forums.rpgmakerweb.com/threads/making-enemy-immune-to-critical-hits.169682/