Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Add our level adjustment reduction
herofield[tLevelAdj].value += field[pAdjust].value
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Add our level adjustment reduction
herofield[tLevelAdj].value += field[pAdjust].value
~ Set our minimum adjustment
herofield[pMinimum].value += herofield[tLevelAdj].value*-1
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.
To create an adjustment, you open the editor and use the Adjustment tab. Then you enter the above script as an eval script. You will probably want it done post-levels.
Do I make a new Data file or do I open a file? how do I find the file I want if I want a different one from Assamar?