View Single Post
Arkadious
Junior Member
 
Join Date: Mar 2021
Location: New Zealand
Posts: 18

Old July 31st, 2022, 12:39 AM
I'm able to alter some numbers that are used for levels using these bits of code:

Code:
      field[cLevelAdj].value += -2
      herofield[tPlanLvl].value += -2
      herofield[tLastLevel].value += -2
      herofield[tLevel].value += -2
      herofield[tEqvGrLev].value += -2
What these do is alter what level HeroLab thinks my character is and what the level their last level was.

By altering tLevel, I am also altering tTotLevel and I've got these values in a script in Class Level Id cS2Gestalt so every time you add a Gestalt level, it reduces those values by 2.

Looking the values using the debug tools, the values are correctly set, and the final values are what they are supposed to be, but the Suggested Wealth is still calculating (Gestalt * 2) levels too high.

I checked the ClassList procedure, but it was responsible for the numbering and ordering of the classes in the classes tab for a character. It did do some calculations for cLevelAdj, tPlanLvl, and tLastLevel, but nothing in there that references the Wealth by Level mechanic.
Arkadious is offline   #5 Reply With Quote