DeltaMasterMind
Well-known member
Ok so I am trying to come up with different methods to accurately have HeroLab count levels for a value. I am not sure if #levelcount[CLASS] can even be used in Eval Script for extracting a value to insert to the abValue within Class Specials. I have also tried:
perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = focus.field[cIndex].value
and
perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = hero.childcount[cBonusHD]
but I seem to have issues with finding the right timing to even make them work let alone count the right value. I usually get just a value of 1 even when I have 10 levels of specific class loaded up. I have been searching the forum a few days now trying to find specific code, sadly I have come up short. Any suggestions?
perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = focus.field[cIndex].value
and
perform hero.childfound[cSAssassin].setfocus
doneif (state.isfocus = 0)
field[abValue].value = hero.childcount[cBonusHD]
but I seem to have issues with finding the right timing to even make them work let alone count the right value. I usually get just a value of 1 even when I have 10 levels of specific class loaded up. I have been searching the forum a few days now trying to find specific code, sadly I have come up short. Any suggestions?