Weapon/Armour/State Variance Value

Well, I'm not good at starting writing so I'll just jump write into it:


What I'm looking for is a plugin that would allow me to use notetags to give a weapon, armour, state, actor or class a Variance value override (If an appropriate notetag existed in any of these places, a skill used would use that notetag's variance instead)


Not all the things listed are necessary, they're in order of priority. Everything after 


Whether or not notetag sources of variance are used may be dependent upon several things: Skill type, Element and weapon type.


The most basic notetag would be <Variance: X%> which would replace the Variance of every skill used by X%. For example, a character equipped with a weapon that had <Variance: 50%> would have 50% variance on any skill they used, regardless of the original variance value. I'm not sure how to prioritise which variance is used since people would be able to equip more than one item that had such a notetag. Perhaps a <Variance Priority: N>? The system would prioritise the highest N when determining an override variance. If the highest N was shared between multiple items, it would take the mean of the values of those variances?


Next is <Variance: +/-X%>. Rather than replacing variance, this would add onto the original value (preferably total variance would be calculated before any is applied). For example, a character with <Variance: +15%> will had 15% higher variance for any skill used. Thus, "Slash", which has variance 20% would now have variance 35%, and Minor Heal, which has variance 0% will now have variance 15%. (All additive variance would preferably cap at 100%)


Now is <Variance: (+/-)X%, Y>. The Y here would be the number of an element (For example, Fire, which would be 3). An actor with <Variance: 10%, 3> will therefore have 10% variance when using any Fire element skill, but any skill of an element other than Fire will have its normal variance. +/- works in the same way here, so <Variance: +30%, 4> would cause an additional 30% variance on any Water skill, and Geyser, with an original variance of 25% would now have variance of 55%. This would stack with the previous, so an actor with <Variance: +10%> who wields a weapon with <Variance: +20%, 5> would have 10% more variance on every skill, and 30% more variance on Lightning element skills.


Next is <Variance: (+/-)X%, Y, Z>. This functions the same as the previous, and Z denotes the weapon type that the variance applies to (Obviously, this would be redundant on weapons, but it would be used on actors, armours, or perhaps states). For example, an actor with <Variance: -7%, 3, 4> will have 7% less variance on Fire skills, as long as the actor is equipped with a Bow (weapon 4). An element value of 0 would mean the variance applied to all elements. 


Finally is <Variance: (+/-)X%, Y, Z, S>. The S shows which skill type to apply it to (eg, Special, Magic - which button you pick on the action menu to find the skill). As with the previous, Y and Z can be set to 0 to ignore element and equipped weapon type, so <Variance: 100%, 8, 0, 2> would mean that Magic skills (2) of the element Holy (8) would have 100% variance with any weapon (0) equipped.


Thanks for your time, and I look forward to any responses! 

Original thread: https://forums.rpgmakerweb.com/threads/weapon-armour-state-variance-value.64936/