RMMV Specific Class Buff for Using a Specific Weapon?

Hey everyone,

Quick question: I know how to give my actors/classes the Equip Weapon trait so that they can wield specific kinds of weapons (e.g., axes, staffs), but is there a way for a specific class to receive an additional buff for wielding a specific weapon type, as an incentive for them to use that weapon type? For example, I can permit both my Warrior and Mage classes to equip both axes and staffs, but maybe I want to give my Warrior class an additional buff (maybe more damage, maybe a chance to paralyze, etc.) for choosing to use axes over staffs, that the Mage wouldn't receive while wielding the same axe. Is this possible? Would I somehow need to create a conditional buff for the axe (like "if equipping class is Warrior, then also provide buff X")? Thanks!

Edit: More damage is answered; just curious about adding in a new state (like 10% chance to cause paralysis).
Didn't I already answer this question for you in a previous post?
I don't believe I've ever asked this question before, sorry! Do you have a link to a similar thread?
Oh, I see! Sorry, I should have been more specific, for specifically adding a state, like 10% chance for paralysis! You did answer me earlier in terms of increase damage though; thank you for that!
It works on the same principle, really, but the implementation will be slightly different. Give me a sec.
Thank you, and I'm sorry for the confusion! I assume we'd need the ID# of the State; if it's easier to type into the equation, feel free to just call it State #5, to just pick an arbitrary State ID #.
Okay, so what you do is make state 5 called "Warrior bonus" or something. In that, add what you want that bonus to be (15% chance of poison, extra damage like with the previous post etc.) Give that state a custom passive condition:

Code:
<Custom Passive Condition>
condition = user._classId == {ID of warrior class}
</Custom Passive Condition>

replacing the part in curly brackets with the class ID you want this bonus to apply to.

Then in the weapons you want this bonus to apply to, put <passive state: 5>
Okay, thank you! Just like before, I would need the Auto Passive plugin from Yanfly, right?
Correct.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-specific-class-buff-for-using-a-specific-weapon.124447/