Sebaestschjin / gloomhaven-campaign-manager

Simplify the management of your Gloomhaven campaign progress in Tabletop Simulator.
MIT License
7 stars 5 forks source link

Perks in the character sheet are not numbered as expected #69

Closed Sebaestschjin closed 3 years ago

Sebaestschjin commented 3 years ago

The perks on the character sheets are internally not always numbered counting top left to bottom right. E.g. for the brute the perk number 10 has the value internally. This means during save the wrong perk numbers are stored. This is not a problem during load, as the wrong numbers are loaded again, which will lead to the expected result. However, this still makes the save information invalid and is confusing, if one wants to check whether the save was successful.

To fix this the numbering on all character sheets have to be checked and a mapping has to be stored in Game. The mapping must be used for saving. For loading the mapping must only be used, if the save game has a version of 1.1 or higher. Otherwise, the mapping will map to the wrong perk.