chiefweasel
Well-known member
I am trying to create a Kensai and at 4th level he get the ability, Ki Projection. This allows him to add 1/2 his level to several skills. This changes to equal his level at level 8. I thought I had the code, but I was wrong. here is what I did:
~ Add our level + 1 / 2 to skills.
var X as number
X = (field[xTotalLev].value + 1) / 2
X = round(X, 0, -1)
hero.child[kBluff].field[Value].value = hero.child(kBluff].field[Value].value + X
For some reason the system cant understand the last line. Anyone have any suggestions? Thanks.
~ Add our level + 1 / 2 to skills.
var X as number
X = (field[xTotalLev].value + 1) / 2
X = round(X, 0, -1)
hero.child[kBluff].field[Value].value = hero.child(kBluff].field[Value].value + X
For some reason the system cant understand the last line. Anyone have any suggestions? Thanks.