Is it possible to copy weakness' and Resistances'

I want to create a unique skill which works like this. The player takes a turn to use it on a party member or enemy. They Copy their weakness' and Resistances' and on the next use they can give it to someone as a state which replaces their weakness' and Resistances' with the ones they just copied for a few turns. only one party member gets access to this, how can i get this to work?
You can inflict states that do this through the skill and use a conditional branch to check if the state was applied.
You can inflict states that do this through the skill and use a conditional branch to check if the state was applied.
How would i have the resistances and weakness' change for whatever it was taken from though?
You have a very limited ability to do this by default. If the element rates are applied via a state, you could check if the target has that state and apply it to the actor.

Otherwise, if you're putting the rates directly onto the enemy and they're any arbitrary value, you'd have to use a dynamic trait plugin that allows you to put a state on the actor with whatever element rate you determine at the moment.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-copy-weakness-and-resistances.158194/