Ok so i found a bug,
Actor.maxLevel()That always returns 99, no matter what you change the setting to in the actors tab.
Im not sure if this is where i should post this but i figured i would give it a shot.
Nope, not a bug.
I changed an actor's max level to 80, started a new game, enquired on the max level, and it gave me 80.
Any chance you had an actor with 99 max level, played a bit and saved your game, then adjusted it to a different figure? A lot of actor details are set when the actor is added to the party, and are then kept in the save file, so if you change it and load a saved game, it gets the value from the save file and not from the new database settings.
nope its a brand new game, no plugins, i can edit the dataActors.json and add maxLevel2 and it works pretty much any other field works but maxLevel which is always 99 lol its weird,
I'll reinstall maybe somethings wrong with the install i don't know.
Are you using yanflys core plugin as i believe it overides the max level with a plugin parameter for max level.
What's maxLevel2?
The editor will only allow you to go up to 99. If you have the editor open and it shows 99, and you edit the json file, and then save in the editor, it will save over your edits.
If you want to go above 99, you may need to look for a limit breaker plugin.
I created a fresh game and without any plugins and it still didnt work, but after a reinstall it did so idk.
And maxLevel2 was something I added in the json file, just to test that the file was being read, all the way to the end of each line, i thought it might of been a file issue, but that didnt work either lol. But like I said the fresh install did work so I'm not sure what the issue was.
cool. There are some issues with the editor not saving data correctly, so this may be related. Let's keep an eye on it when the next update is available and see if the problem can be repeated.