Sorry for the delay,
I can make the adjustment work with this:
Code:
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Add our level adjustment reduction
herofield[tLevelAdj].value += field[pAdjust].value
But instead of a static minimum, I'd like to set it such that you cannot reduce a hero's level adjustment below zero.
Basically, I need to write a script that tells HL the minimum equals -1*the level adjustment. I think that would always set the minimum properly, since a 0 level adjustment would set a 0 minimum (my maximum is already 0).
I just don't know enough about the code to write that in a coherent expression.