Change Enemy Element Weaknesses

Does anyone know if there is a plugin or script command that will switch the enemy's weaknesses and strengths.

Let's say an enemy is strong against all the elements except fire. But then half way through the battle, the enemy uses a skill and switches the weakness from fire to ice.

Thanks in advance!
You can use states and just remove current ones & add new ones. You can give enemies a skill that shifts their states or use battle events to do this.
Sometimes, events (and states, in combat) replace the need for a plugin.

At the start of the battle, give the enemy in question a state that applies the first set of elemental resistances. Then at the halfway point you've determined, remove that state from the enemy and add another one with the other set of resistances.
Awesome. Thank you for this quick and easy answer. Much appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/change-enemy-element-weaknesses.121467/