Hi again folks, this time working on a class special that adds a damage bonus equal to the number of sneak attack dice at a given level. At 11th level, the bonus doubles. I want the listname and livename to list the bonus as it scales in level. My code is
The ability scales at every odd level, but the output in the class abilities tab and the Specials tab aren't calculating correctly. What did I screw up?
Code:
~only do this if we are the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~Set abValue
if (#levelcount[LegeRogu] >= 11) then
field[abValue].value += (field[xCount].value + 1) * 2
else
field[abValue].value += field[xCount].value + 1
endif
~ Set the listname
field[listname].text = field[thingname].text & " " & signed(field[abValue].value)
~ Set the livename
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
The ability scales at every odd level, but the output in the class abilities tab and the Specials tab aren't calculating correctly. What did I screw up?