How to make a magic version of the standard attack skill

Is there a way to just have a base magic version of the main attack? It is weird for a mage to use their attack state when going for the standard hit.

I'd also like to give a few enemies a base attack that is magic. It's annoying to wait for them to do that stupid charge animation each time they want to do a simple attack that calculates magic damage.
MZ has weapon attack skills you could use that. Just set a trait; Attack tab => Attack Skill => and pick a magic skill.

I'm not sure what you mean by 'stupid charge animation' default RPG Maker MZ doesn't have casting animations. Check your plugin manager for relevant plugin settings.
MZ has weapon attack skills you could use that. Just set a trait; Attack tab => Attack Skill => and pick a magic skill.
As @MechPen stated, it appears that this can be changed/set for each weapon AND it appears this can also be set at the Class level following the same path.

So you could have different Basic attacks by Class or by Weapons.

I'm not sure what happens if there is a conflict. Such as your Mage class sets the Basic Attack to Magic Missle, but your Mage has a Weapon equipped that sets the Basic Attack to something else. I haven't experimented with that yet.

Maybe someone else knows right off the top of their head.

EDIT: So I just tested this out of morbid curiosity. I made Double Attack the Basic Attack for the Class and Triple Attack the Basic Attack for the Long Sword. When my character did a Basic Attack with a Short Sword equipped, he used Double Attack. When that same character equipped the Long Sword and used Basic Attack, he used Triple Attack.

So it seems like the equipped weapon Basic Attack trait overrules the class Basic Attack trait. But maybe I did something wrong in my test.
I'd also like to give a few enemies a base attack that is magic. It's annoying to wait for them to do that stupid charge animation each time they want to do a simple attack that calculates magic damage.
This sounds like you're misunderstanding something about how the skills work. As mentioned previously, there's no charge animation that has anything to do with your damage type in default MZ.

Also, there's not strictly any such thing as "magic damage," unless you've defined "magic" to be one of your elements.

You could go into the Skills tab of your database, right-click on skill 1 Attack, select copy, go to another ID, right-click it, paste, and in the upper right where it says "Element: Normal Attack," just change to whatever element you want.

It will look and function identically to the regular attack, but do, say, fire damage. Give that to whatever enemies you want to use it. For that matter, use the above-mentioned attack skill trait to set it as the attack for any classes you want.
I'm not sure what happens if there is a conflict.
If a battler has multiple attack skill traits, they will use the one with highest ID.
If a battler has multiple attack skill traits, they will use the one with highest ID.
Ah, that is very helpful, thanks! It is interesting because the highest ID wouldn't necessarily be the best attack. I will have to keep that in mind.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-a-magic-version-of-the-standard-attack-skill.146383/