Weapons that increase elemental effectiveness

Right now in my game I have it set up so that you can add elements to weapons, and you'll attack with that element. This is all well and good, except for the mage class, who isn't really going to be using their weapon for attacking but for casting spells. How can I make a weapon that a mage is supposed to equip enhance an element that they use?

Should I use the "Element Rate" trait and then push it to, for instance, 110%? Or is that only going to affect the attack action an not the spell one? Just need a little bit of extra clarification on that. I know that with armors, Element Rate changes your weakness/resistance to a certain element, but IDK if it works the same way for weapons or not.
That's not how Element Rate works. What Element Rate does is determine how much damage is received from that element. Setting it to 150% on an actor or enemy would make them take 50% more damage while setting it to 50% would reduce the damage from that element by 50%.

What you need is a plugin that provides Elemental Amplification, which can only be achieved by a plugin. Yanfly has Element Core.
That's not how Element Rate works. What Element Rate does is determine how much damage is received from that element. Setting it to 150% on an actor or enemy would make them take 50% more damage while setting it to 50% would reduce the damage from that element by 50%.

What you need is a plugin that provides Elemental Amplification, which can only be achieved by a plugin. Yanfly has Element Core.
Thank you! That's exactly what I was looking for.
Or you can use it in your damage formula.


That thread demonstrates how to use ternary operators to conditionally modify your damage formula. It also has the script call for checking whether a weapon is equipped (or, if you have multiple weapons doing the same thing, they could all grant a passive state and you check for that state).

The plugin solution does become easier if you have a bunch of items that will amplify it by different amounts.
This thread is closed due to being solved. If you need it reopened, let us know. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/weapons-that-increase-elemental-effectiveness.169139/