Different stats affecting different weapons, WITHOUT limiting it to a specific skill

How can I make different stats affect different weapons, without limiting this effect to just one specific individual skill? Here is an example of what I mean:

Let's say I want Strength to affect the damage of heavy weapons, and Dexterity to affect the damage of light weapons. But I still want the typical skills like "double attack" and "sweeping slash" etc., and have them do things like successive and multi-attacks while still using the normal damage of whatever weapon and stat combinations are being used. In other words, I can't simply make a separate specific skill per weapon, because I want all the characters skills to do different things with damage that is based on both one's parameters and the type of weapon that is equipped.

Hopefully this makes sense - thank you in advance for any advice.
you'll have to - the usual way of doing this would make the entire skill list multiple times with different damage formulae to be used with the different weapons, and then making sure the player only ever sees one of those skills based on whatever weapon is equipped.

the only other way would be to use a damage formula with a lot of conditions for identifying the weapon and switch the formula based on that.

theoretically you could make formulae using a general variable and have a parallel copy the correct value into that variable based on which weapon is equipped, but that would be even more tedious work than any other solution.
You can, as Andar says, account for it in your damage formulae. That's really not so difficult, if all of your weapons have the same effect on skills you can just write it out once and copy and paste.


The other solution would be to use VisuStella Battle Core and the JS Pre-Damage notetag to modify the damage value before it gets executed.

Going that way, you have tons of options of how to do it. If the damage modifiers by weapon type are the same for all the actors and skills, you could type the code out one time into a state, use VisuStella Skills and States to apply that as a passive state to all actors, and done.

You could type it into the skills and copy and paste and make modifications per skill if you want.

You can type it into the individual weapons and have each one functioning slightly differently if you need.

It's fairly simple and gives a lot of options.
If you don't mind spending $4, Ramza has exactly what you want, unless I'm grossly misunderstanding what you're asking for.

Original thread: https://forums.rpgmakerweb.com/threads/different-stats-affecting-different-weapons-without-limiting-it-to-a-specific-skill.151354/