Yanfly Item Core - Random variance of individual stats

Tyrael79

Veteran
Veteran
Joined
Jan 10, 2016
Messages
90
Reaction score
15
First Language
english
Primarily Uses
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
 

Tyrael79

Veteran
Veteran
Joined
Jan 10, 2016
Messages
90
Reaction score
15
First Language
english
Primarily Uses
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 :)
 

Tyrael79

Veteran
Veteran
Joined
Jan 10, 2016
Messages
90
Reaction score
15
First Language
english
Primarily Uses
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.
 

Tyrael79

Veteran
Veteran
Joined
Jan 10, 2016
Messages
90
Reaction score
15
First Language
english
Primarily Uses
I got it working thanks to one of the new updates yanfly made to the plugins. :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top