Well I am using these codes to change them with Yanfly's WeaponUnleash plugin
<Replace Attack: x>
<Replace Guard: x>
But replacing attack and defend wise, for example in the first character I wanna do this:
<Replace Attack: Magic Bolt>
a.ma
<Replace Guard: x>
I think that I understand what you're trying to do but I'm not sure. Correct me if I'm wrong, you want the character to instead use a skill called "Magic Bolt" instead of attack and you want the damage formula to be a.ma (the actor's magic attack)?
The "x" is the name of a skill in the database (I think that you can use the skill ID number as well) which you will need to have already set up. The a.ma will go in the damage formula for that skill, not in the notetag. The <Replace Attack: Magic Bolt> tag simply tells the engine to use that skill instead of the standard "Attack" skill which is ID 1 in the database.
Also, if you're not changing the guard option, you can just delete the <Replace Guard: x> tag altogether.
Moved to: JavaScript/Plugin Support
Changing attack is actually simple, but changing defense is another story. I will not be changing defend with a skill that entirely does something else, but will add some alterations to the defend option. Checking what I can do now, and will seek help with opening a detailed thread today.
And yes, Magic Bolt has lesser attack ratio than your usual normal attack (%150-175 Magic) instead of what warriors have (%200 Attack) but it needs work as well.