This generator will create a file that will list all the "levels", for each level it will generate a variation (these should be your class paths), and for each variation it will give you every "stat" value increment.
Require parameters:
"templateBase": this will be the starting point for each "stat" value.
"typeTemplates": these will be your "class paths" keys, for each class path, the generator will create all the "stats" values per "level".
"typesVariations": similar to the type templates but in this case is to generate a variation value using a minimum and a maximum amount.
"maxLevel": if not specified then 100 will be used as default.
To use the generator follow these steps:
Go to your game folder and create a folder called "generate-data".
Inside the created folder create a new file named "attributes-per-level.json".
In the example above we are generating the attributes for the player class paths, but in the same way we could easily use it to generate the enemies attributes per level and later assign these attributes for different monsters to increase the difficulty over the levels.
The attributesKey and the level in the "object" will automatically use the data from the file (statsByVariation[attributesKey][level]) to create each the object "stats".
For example, we can use the following configuration ():