Skip to content

Conversation

@OH296
Copy link

@OH296 OH296 commented Oct 28, 2024

https://discord.com/channels/714022226810372107/1120687959365128243/threads/1299832338531876894
attempts to solve this crash by deprecating the obj_ini.experience in favour of a built in to the unit struct experience value. This invloves changing all reference of obj_ini.experience[co][id] to unit.experience and all values of unit.experience() also to unit.experience(), further it requires all values of obj_ini.experience[co][id] = <value> to be restructured to unit.add_exp(<value>) or unit.update_experience(<value>).
This is net better as it should remedy the crash and also means stat growth is supported across all exp gains

@EttyKitty EttyKitty changed the title Fix/temp marine variables Deprecating obj_ini.experience Oct 28, 2024
@EttyKitty EttyKitty merged commit 5f53e25 into EttyKitty:compile/main Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants