Is there a way to make it so that the very start of the game a class can be giveno random start and max stats?
Random class
● ARCHIVED · READ-ONLY
-
-
Hello,
Yes! I am going to make a few assumptions here. It sounds like at the start of the game you want to randomize the manor in which the characters scale.
As in, I want to add "Black Mage" to our party, and Black Mage would have a starting strength of 8 and gain +5 every level, but if I restart the game and add Black Mage to the party they start with a strength of 7 and gain +4 every level.
You can achieve this through variables and adding to a characters attributes. (I am sure there is a plug-in solution as well)
Each class would be setup with a standard growth (if you want there to be a minimum) and then from there you would have a variable that would lock a number between X - Y and that number would be added to the stat each time the character leveled up. You would want to have a variable for each class and each stat.
Then you would want to decide how frequently this updates. You could load a common event to acknowledge a character when they level up and then apply the variables. If you built the common event it could try to run on each map, and then turn off and at the start of each battle. It is up to you how frequently you would want it to apply the variables.
Let me know if you have any questions. I am sure someone will chime in with plugin examples! hehe -
Having a random class is easy. Simply throw a random number from 1 to whatever and change the actor's class to the class referenced from the result. There is a command "Change class". Having random max stats is easy too. The post above works, but it can be way simplified.
Randomizing beginning stats is easy too. Simply use Change parameters to decrease all parameters to 1, then throw random variables and add them to the stats.
Force the class to have constant stats. Now in each troop event have a page that starts on Turn 0 and switches on a switch (let's say switch 50). Then create a common event, parallel process, with condition "Switch 50 on".
Variable operations: Variable 50 = actor's level.
Conditional branch: If variable 50 (current level) > variable 51 (level before the last battle), throw a few random variables and add them to stats according to your with.
And don't forget to set Variable 51 = variable 50 in the end.
If not, then nothing happens.
And in the end of the event turn the switch off so that the event doesn't run unnecessarily.