Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Stats revamping?

A topic by Naskura created Jul 06, 2019 Views: 2,512 Replies: 4
Viewing posts 1 to 3

So I am having some issue with the stats system in the game, wondering if there is a way to solve some of the things I am having issues with.  

1.  Children have had the stats of the other parent or the base species not sure which exactly (unless Traits gained) would love to see some sort of Randomization to the stats or even take the stats from both parents and average them out to increase base stats.

2. Max stats; I would like to see higher stat options, this character is supposed to be a mage hero, he should be able to be more powerful. eventually I am hoping it would be implemented in a way that was done in game, like using 3 ability points to increase base stat so one could then increase their affinity.  

This would be a big project and I have been playing around with some of the code on Weapons and a few other things but I have no clue where to start to try and get both of these started.  If someone could help point me to where the Max Stat Hard code was so I could edit that, or if someone with more experience could help me make this work that would be amazing.

1.  Inherited attributes include: race, grade, surname, basic bodypart shapes and colors, beauty, traits.  The impregnation function in globals.gd handles the inherited values.  Everything else is randomized in the newslave and get_caste functions of scripts/character/constructor.gd.

2.  Magic is already dreadfully overpowered in this game, but feel free to change it to your liking.  Max stats for new player characters are limited by statup and statdown functions in scripts/mainmenu.gd.  For more details on Person objects, check scripts/person/person.gd.

Yeah I found this area and made this change but it's not making any difference in maximum stats during character generation.  

if playerBonusStatPoints >= 1 && player.stats[name] < 18: #Check bonus points available and stat below maximum limit

player.stats[name] += 1
playerBonusStatPoints -= 1
_update_stage5()

So far nothing has worked.

You may have a different problem, cause with just that change I could make a character with 12 max Strength(rest of stats were 2 max). Verify that you are modifying the files in the correct directory and saving changes before starting the program.

will have to check other mods for conflicts, I am modding the Main Menu of another mod, Ultimate Harem Mod, as it edits that file already have to see if anything else is editing that area then, or maybe disable all others but the one I am editing.

Thanks for Verifying that's the spot and it should be working.