so i'm trying to get half the level of my class with min value of 1. i've got a script that i copied from somewhere and trying to use with some edits. oh, this is on a class special if that has something to do with it.
trying to use the levelcount macro to get the starting number, but it doesn't seem to want to divide in half. its getting the correct number of levels, just not dividing it.
found that this below will halve it correctly, just wondering why the single line above doesn't work.
trying to use the levelcount macro to get the starting number, but it doesn't seem to want to divide in half. its getting the correct number of levels, just not dividing it.
Code:
field[abValue].value += maximum(round(#levelcount[Dread]/2,0,-1),1)
found that this below will halve it correctly, just wondering why the single line above doesn't work.
Code:
field[abValue2].value = #levelcount[Dread]
field[abValue].value += maximum(round(field[abValue2].value/2,0,-1),1)