MV Attack Element

So, I'm trying to create a Flame Blade skill that boosts damage and gives the actor the Attack Element of Fire. I noticed a strange behavior: enemies with a 0% Fire element rate still took damage. At first I thought this was bugged, but after some testing, it turns out the damage is inflicted is based on the most favorable element, or something like that. This is great for a demon slicing attack, and in this case, is probably fine for a flaming weapon. I was planning on having the enemies in a particular battle have an invincibility to normal weapons anyway. That part actually seems to work.

However, there doesn't seem to be a way to remove elements, only add them. Further, normal attacks seem to always include a Physical element by default if you don't specify; I tested without weapons.

Is there a way to strip the physical element from a Normal Attack? Or would I need to define a separate, invisible damage type if I want to alter how enemies interact with normal weapons?
Physical element by default if you don't specify; I tested without weapons
Theres a function that specifically causes that. Actors have a bareHandsElementId() function that is used when they lack both a weapon and an attack element trait. Its just element 1 by default. Normal attacks from an actor with a weapon without attack element traits should completely lack an element

Is there a way to strip the physical element from a Normal Attack?
Once an actor has an attack element trait for any element on them, it'll be factored in for normal element skills. If you want specific skills to be able to use the actor's attack elements but specifically ignore physical, then afaik, you'll have to make a plugin.
the way i see it, you'd define a new function similar to (or directly calls) attackElements() but then removes 1s from the resulting array if the length is greater than 1 and then change Game_Action.calcElementRate() so that it allows you to use that customized element set in skills you set a specific notetag on

Original thread: https://forums.rpgmakerweb.com/threads/attack-element.178720/