A character that does no damage to a specific monster

Is there any way to make a party member do no damage to a specific monster?

For example, there are boars, bats, rats and slimes, the protagonist manages to deal damage to all of them normally, but one of the allies can not deal damage in slimes.

Is there any way for me to do this?
'Scripts' forum is where you post scripts you have written and want to share with the community.

Moved to: RPGMaker VX Ace

EDIT
Oh wait, I've just seen that you have an identical thread which you posted elsewhere and which has already been moved to this forum.

Please do not start duplicate threads.

Moderator note: I am, therefore, closing this thread.

Original thread: https://forums.rpgmakerweb.com/threads/a-character-that-does-no-damage-to-a-specific-monster.78418/