Hi everyone!
I'm trying to make a level up with random growth of stats.
But i cant figure out how to do it.
Here things i tried:
But none of them worked. Also, the first one, sometimes when level up the maxhp of actor, goes down. And i cant manage to change that.
I would like some like that:
When actor x level up, increase MAXHP by Math.floor(Math.random()*3)+1 Or Math.round(Math.random()*3)+1(whats the difference between mathfloor and math round?) ;
I can figure it out to do with variables, but is a lot of characters and stats to check.
I think in some like that.
A parellel event with a conditional branch:
If actor x level up
Activate switch 1 on
So run a common event with the fórmulas of level up for this character.
I'm trying to make a level up with random growth of stats.
But i cant figure out how to do it.
Here things i tried:
Code:
<Custom Class Parameters>
maxhp = level * Math.floor(Math.random()*3)+1;
</Custom Class Parameters>
OR
<Custom maxhp Formula>
maxhp = level * Math.round(Math.random()*3)+1;
</Custom Param Formula>
I would like some like that:
When actor x level up, increase MAXHP by Math.floor(Math.random()*3)+1 Or Math.round(Math.random()*3)+1(whats the difference between mathfloor and math round?) ;
I can figure it out to do with variables, but is a lot of characters and stats to check.
I think in some like that.
A parellel event with a conditional branch:
If actor x level up
Activate switch 1 on
So run a common event with the fórmulas of level up for this character.

