MZ Dual Wield Weapons with different attacks

Hello, its been a long time, hasn't it?

Anyway, on-topic, I have a character with dual wield weapons: A sword and spell book

What I want is the sword to do one attack and the spell-book to do another. Mainly, the sword to do physical damage vs enemies physical defense and the spell-book to do magical damage vs the enemies magic defense. How I have it setup right now is the basic attack calculates the average damage like this:
Code:
(a.atk + a.mat) / 2 - (b.def + b.mdf) / 2
which isnt very intuitve for what I would like.

I would assume we could solve this either by linking different skills to different weapons or i guess having different attack formulas for each weapon.

I have all VisuStella plugins available.

I have also found this thread, but I cant make sense of it or if it even has anything to do with my situation, but it felt like the closest thing to what I had in mind. Not sure tho, if anyone could make sense of it, if it does in fact have anything to do with what I wanted, that would be great. 😳
Hmmm, give the dual wielder a trait that sets custom attack skill. With that skill you use an action sequence where you hit with the first weapon, then use the action sequence weapon slot commands to change the weapon slot, and the action sequence damage formula commands to change the damage formula and then make a second attack.
Hmmm, give the dual wielder a trait that sets custom attack skill. With that skill you use an action sequence where you hit with the first weapon, then use the action sequence weapon slot commands to change the weapon slot, and the action sequence damage formula commands to change the damage formula and then make a second attack.
Ive tried to avoid Action Sequence for a long time now since it just seems utterly confusing with how to make things happen. Ill take a look but I dont have much hope in understanding how it works, but I will try.
You can probably google a basic action sequence that you can copy paste. Then you just need to add after the first 'action effect':

wait 30 frames, WEAPON: Set Weapon Slot id 2, ANIM: Attack Animation 2+ slot 2, MECH: Custom Damage Formula: "your spell book formula", MECH: Action Effect

If you can remove the equipment completely, you might need to add checks if their hands are empty.
Hahahaha. Im so confused right now. Im gonna go to sleep for now, my head hurts. I already made progress on my project anyway. Ill pick this up later. Thanks for the help tho.
I actually wrote a plugin that makes dual wielders use the attack skills of both weapons… but it's for MV, not MZ. I have no idea if it works in MZ. It's also unreleased, so I'd have to polish it up and test it…
I actually wrote a plugin that makes dual wielders use the attack skills of both weapons… but it's for MV, not MZ. I have no idea if it works in MZ. It's also unreleased, so I'd have to polish it up and test it…
Well, I found this but I'm not keen on paying $14.99 on it rn as I am not able to return to work atm (family issues). But this seems like the fix to all my problems. Thank you for trying tho. I appreciate it

Edit: Haha wait, I found the one I can use actually.

This one, $3.99 isn't bad. God I hate using AI but it helped a lot in this scenario.
You can probably google a basic action sequence that you can copy paste. Then you just need to add after the first 'action effect':

wait 30 frames, WEAPON: Set Weapon Slot id 2, ANIM: Attack Animation 2+ slot 2, MECH: Custom Damage Formula: "your spell book formula", MECH: Action Effect

If you can remove the equipment completely, you might need to add checks if their hands are empty.
Oh, and, I probably should have included this in the beginning, but as of right now I am not using SV, only FV, so I don't think this will work anyway for the time being.
Nah, you can use it in front view too. But yeah, seems like you found another plugin (did you check it works with VisuStella?)
Nah, you can use it in front view too. But yeah, seems like you found another plugin (did you check it works with VisuStella?)
It does. I did check out a small beginner tutorial of action sequence and it seems really interesting. Maybe not as hard as I thought...

Original thread: https://forums.rpgmakerweb.com/threads/dual-wield-weapons-with-different-attacks.180628/