Yanfly X ClassBaseParameters and $gameVariables

Flare Gear

Veteran
Veteran
Joined
Oct 28, 2015
Messages
15
Reaction score
23
First Language
Italian
Hi, I tried to set the parameters by using $gameVariables.value() function in addition to a Custom Formula, but it appears that the gameVariables are not taken at all and, subsequently, Variables don't vary the basic parameters as I planned to. Here what I used for Custom Parameters:


<Custom Class Parameters>


var xpow = $gameVariables.value(1);


var xdef = $gameVariables.value(2);


var xmpw = $gameVariables.value(3);


var xmdf = $gameVariables.value(4);


var xspd = $gameVariables.value(5);


var xspc = $gameVariables.value(6);


maxhp = 10 + level * 5 + def / 2;


maxmp = 5 + level * 2 + mat / 2;


atk = 1 + level * 1 + xpow;


def = 0.5 + level * 0.75 + xdef;


mat = level * 0.5 + xmpw;


mdf = level * 0.5 + xmdf;


agi = level * 0.25 + xspd;


luk = level * 0.5 + xspc;


exp = level * 50 + mhp / 10;


</Custom Class Parameters>


is there a way to use gameVariables correctly to determine the parameters?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Guess I'll rework all the existing screens in my game. Except of the save/battle screen. For this I will be lazy and use Yanfly. With my current pace it'll take a few months.
Electro Swing--it's like swing--but with electros.
Is it wrong to look like a dead fish at all times :)
What worst could happen when your driver said "I know a shortcut"?

Forum statistics

Threads
93,629
Messages
914,118
Members
123,212
Latest member
nuwandw
Top