Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Strive: Conquest

A successor to first Strive For Power game, currently at alpha stage · By Strive4Power

Food.tick()*2 and get_next_class_exp()

A topic by Zepeteus created Feb 04, 2021 Views: 301
Viewing posts 1 to 1
(1 edit)

The food.tick() is activated twice per tick in the latest version. It's called twice in tick() located in CharacterClass.gd. I removed one of the calls for myself.

Also when checking for the exp requirement the code checks the level reqs against the theoretical maximum, not the currentclassnumber so that if one raises the amount of classes per growth it automatically chooses the last (biggest) entry from the soft requirements list. I fixed this by replacing line 48 in ch_leveling with "if exparray.size()-1 < currentclassnumber:"