Increasing damage of a weapon type

I'd like the player to be able to specialize in weapon types, and get bonus damage when using a weapon of that type.  What would be the simplest way to accomplish this?


I was thinking of using yanfly's passive skills plugin, making skills called like "Sword Mastery," "Axe Mastery," etc., and then adding a state that increases attack, and then making the skill require the weapon type that it corresponds to.  The problem with this is that the player would have to always equip and unequip the skill if they switch their weapon.  Like if they are using a sword they could equip the sword mastery skill, but not the axe mastery skill, and then if they switched to an axe, vice versa.  I don't want the player to have to go through this trouble every time they switch a weapon type; I'd like learning the passive skill to always (but only) trigger when they have a weapon of that type equipped.   OR wait, would simply "learning" the skill make this state active whenever the right weapon type was equipped?


Is there an easy/easier way of doing this?  Guessing I'd need a plugin, but I'm not even sure what kind of plugin I'd request in order to best accomplish this. If someone knows exactly what kind of plugin I'd need to best facilitate this, I'll make a post in the plugins request forum.  Thanks in advance.  
On the Skills part of the Database, there is the option, at the bottom of the page, to set a Required Weapon type, without which the Skill will not be usable. Would that not do what you describe above..?
Well, skills are active - I'm looking for something that will increase all damage of that weapon type, even basic attacks.


I need to test though if the passive skills plugin will only activate the passive state when the required weapon type is equipped--if so, that might work.
I was able to handle this with my Element EX Plugin.





Just give each weapon type an element number and add all relevant elements to the Weapon's notes as <object element: x> then add the tag


<element_boost: x y > to the Actor's notes.


So, for example, you have a blade type weapon.  You could give it an element number 12 and tag ALL blade weapons with <object element: 12>


Then go to the actor who is proficient with blades and tag their notebox with <element_boost: 12 0.1 > which increase ALL physical blade damage by 10%.


This will work for ALL skills you set as either physical or certain hit, including the regular attack.
Hi, i have a problem with Dboost, it doesnt work. element_boost works perfect, but i dont get any damage change at all when using element_Dboost.
Im not using other plugins. Any idea?
Yanfly did something like this with states as well

http://yanfly.moe/2016/12/05/tips-t...fantasy-record-keeper-rpg-maker-mv/#more-4278

LordCobayo, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.



Best to start a new thread as your issue is not related to this issue and will need a new solution.​

Original thread: https://forums.rpgmakerweb.com/threads/increasing-damage-of-a-weapon-type.66795/