Splitting the Basic Attack into Physical and Magical.

So I'm looking to change up my basic attack system to have two different kinds, one for physical based characters that use Attack stat, and one for magical users who use their Magic stat.
As it stands, I have two classes each that use a Physical basic and a Magical basic, and the player chooses which class they want at the start. If a player chooses a magic based class, then I'd need a way to have that character use the magic basic instead of the default Attack based Basic. I know how to modify the damage formula and skill to make it so the damage is Magic based. What I don't know how to do is set it up so when the player selects the Attack command, that it actually uses the Magical Basic instead of the default one.
you can set up a formula thatll check if the user is an actor and then see what class they are to determine if to use mat instead of atk, but the problem is that the skill itself wont be different. you wouldnt be able to change the hit type to magical like that and youll need something like yanfly's action sequences to have a different animation.

id suggest making an entirely different magical skill and then using using either yanfly's weapon unleash plugin if you own it, hime's battle command - use skill plugin, or the weaponskill plugin inside the dlc folder to change what skill gets used by the attack command (youll have to bind said skill to all the weapons the mage class can use for the weaponskill plugin).
Funny enough, HIME's Actor Battle Command plugin is what I'd have wanted to look for with my original idea. Thank you for the help.
Robro mentioned all the plugins that can do that. I personally use this one. It will definitely do what you want:
This plugin too will do what you want:
that was the first one i mentioned. i gave the stipulation "if you own it" and alternatives to it because it isnt free and OP made no indication of possibly owning it
that was the first one i mentioned. i gave the stipulation "if you own it" and alternatives to it because it isnt free and OP made no indication of possibly owning it
Yeah I haven't bought any plugins. As it stands, a lot of things I've been trying to get help with are for an experimenting project. Once I have a general idea of what I wanna do, and what I wanna implement into a game, I'll work on a serious project. For right now, I'm just having fun with the engine.

Original thread: https://forums.rpgmakerweb.com/threads/splitting-the-basic-attack-into-physical-and-magical.176145/