I just realized there were two different replies so my answer was scattered and confused. I'll redo my response completely.
did you mean elements? Even if youve renamed stuff in your game, you still want to call things by what the engine calls them here to avoid confusion. Damage type is already its own term for something separate and has nothing to do with a skill being physical.
My mind blanked on what it was called in-engine for some reason. Sorry.
but how would you present the choice to the player? You say attack elements prevents the player from using one of the elements, but what would the condition be that would allow them to dynamically control it other than a separate skill?
The player chooses by using the "blunt" skill or "pierce" skill instead of the "slash" skill. Because the skills are already tied to elements(blunt, slash and pierce), a weapon doing a different element damage such as a fire enchanted sword, would have to be accounted for. The "blunt" skill, for example, needs to do blunt damage
unless the weapon is one that deals fire damage or some other "non physical" element.
Also thats not entirely how attack elements work. if a weapon has traits for say, fire and slash, attack element skills will use either one depending on which one the target is weaker to at the time.
That's not something I knew. I always assumed that the elements simply overwrote each other.
So first question, what would dictate the type of magic that the actor can access? Would it be based on an item equipped or is this supposed to be based on the actor themselves? Or is it just that attack element would give the actor access to all of the elements?
Either the weapon itself or an "enchantment" using the Augments extension of YEP_ItemCore.
Probably possible if you're using Yanfly's Element core that you can give the skill blunt + elemental damage but the element is dependent on how you answer the above.
This may approach the correct answer, but as I understand, that would only work if the skills use
Attack Element for their element, rather than the skill specific elements. If I did that, then a normal sword would always deal slash damage, even when using the "blunt" skill.
If I'm understanding you properly, I don't think the problem is as you say it is. Instead of hiding the base, why not hide upgrade instead and use a show not tell principle. The skill is "Slash" but slash turns into fire slash once imbued with the fire element. It further turns into Ice slash if imbued with the ice element.
How would I make it "turn" slash into fire slash?