I want to add more scaling to actor attack or skills through a state. Say, that if Attack skill formula normally is just (a.atk - b.def) and if actor has Weapon Mastery B state (I'm using Yanfly Buffs and States Core&Auto Passive States) it will make Attack damage formula turn into (a.atk - b.def + a.mat - b.mdf)
I figured that using Yanfly Weapon Unleash plugin can replace the Attack skill to some other skill that has said scaling but is there a way to add said additional scaling of (a.mat - b.mdf) to other skills too just by using a state? I think I saw a method to just check if there's a state in damage formula like for example, (if (a.isStateAffected(10)) a.atk - b.def + a.mat - b.mdf; else a.atk - b.def ) but is there a way to simplify the process instead of adding and tweaking the formula one by one?
I figured that using Yanfly Weapon Unleash plugin can replace the Attack skill to some other skill that has said scaling but is there a way to add said additional scaling of (a.mat - b.mdf) to other skills too just by using a state? I think I saw a method to just check if there's a state in damage formula like for example, (if (a.isStateAffected(10)) a.atk - b.def + a.mat - b.mdf; else a.atk - b.def ) but is there a way to simplify the process instead of adding and tweaking the formula one by one?