I put in the formula for max hp from doomtrain and i'm getting a different number than the one in game.

Squall has 529 max hp. At level 8 with no junctions.

` public int HP(byte lvl, byte magic_J_val=0,byte magic_count=0, byte stat_bonus=0, byte percent_mod=100)`

{

return (int)((magic_J_val * magic_count + stat_bonus + lvl * _HP[0] - (10 * lvl ^ 2) / _HP[1] + _HP[2]) * percent_mod) / 100;

}

the formula gives me 531

I used the formula that pops up if you click the button.

I have the 3 hp vars in an array. Well there are four but I think the fourth is always zero.

Anyone have an idea?