Yanfly Item Core - Random variance of individual stats

Hey Guys,


I'm using Yanfly's item core plugin, and it's really good. I especially love the random variance function, however I'm running into issues where I only want to apply the random variance to specific stats on the item, but still have other stats on it thats are not affected by the random variance.


E.G


I want to create a shield, where it reduces the user's AGI but increases their MaxHP, Def & Mdef.


So something like:


AGI: -2


MaxHP: 25


Def: 10


Mdef: 10


I want the random variance of 10 to apply to only the MaxHP, Def, & M.Def.


At the moment it's being blanketly applied to everything and the item thats meant to slow down your attacks is speeding them up.


Is there aynway to specify in the notetags that the random variance only applies to specific attributes?


Thanks in advance
Just in case other people want to do the same thing, I managed to overcome it by turning off the random variance and using note tags to specify each stat I wanted, then applying a formula to calculate the increase / decrease I wanted each stat to have. Its working nicely 🙂
completely ignore that, I just noticed that the mathrandom function I was using, means that every time the piece of equipment is looked at its variables change not just at the initial calculation.... not a solution.
I got it working thanks to one of the new updates yanfly made to the plugins. 🙂
How?
We're not supposed to necro-post in support threads, and this one is six years old.

Additionally, if you mouse over the poster's name, you can see they haven't logged into the site since May of 2017, so they are extremely unlikely to answer your question.

If you have questions about how to implement something in the Item Core, you'd be best off posting your own thread.

Good luck!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-item-core-random-variance-of-individual-stats.59015/