Hello, everyone.
I have a problem with reloading the game (after turning it off). It saves all item statistics in Array, and when upgrading or loading them, it loads the data.
To confirm, I checked in DEBUG whether the AFFIX was actually stored in the Array and in the item itself. And this work
Array:
And Item:
Also item in eq:
When I use the UPGRADE option, the affix stats are added to the item and then to the hero's stats. But if I reload the game, it looks like an item with basic stats is created and that's it...
This is what my LOADING SYSTEM looks like:
And my Functions:
UPDATE_UI
UPDATE PLAYER STATS
Maybe someone will notice something I can't see, because I'm slowly running out of ideas :P