Adding elemental resistances in batch

Was wondering if there was an easy way to add elemental resistances to actors and enemies in batch, like would be done if a game had an elemental table where an Earth elemental had pre-set resistances and weaknesses to the various elements? I'd like to be able to just slap an Earth element (or any element) label on additions in the game and have it get all the preset strengths and weaknesses. If there is a system that can make multiple levels of elements with changing percentages (Earth Lv. 1, Earth Lv. 2, etc), all the better.
Without any plugins or anything, you could make states with your resistances and then apply them to your enemies with troop events at the start of every battle. For actors, itd be easier to just copy the traits over.

If you have yanfly's auto passive state plugin, you can have the states be applied to actors or enemies as passives via notetags and skip the troop events
Thanks. Would there be a way to write an event that changes notetags on a character later, if I wanted to level up his elemental level?
Not directly. Changes made to database properties midgame only last for the play session and persist between files if the game isnt reset. Additionally, notetag data for many plugins is only read once when the new game starts and the data is written into other objects. Any change made midgame to actor passive notetags shouldnt reflect ingame iirc.

What you should be able to do for your actors is bind all your passives to skills and then have the events make your actors learn and forget the skills as needed. The actors should have the passives for any skill that they know. The skill doesnt need to be usable or even visible to work

Original thread: https://forums.rpgmakerweb.com/threads/adding-elemental-resistances-in-batch.181741/