Level¶
Set, add or remove ranks to the party by a value or by a value stored in a flagvar slot.
Syntax¶
(1)
|level,value|
(2)
|level,flagvar|
(3)
|level,operation,value|
(4)
|level,operation,flagvar|
Parameters¶
value
: int¶
The amount of ranks to set/add/remove. This must be a valid int or an exception will be thrown.
flagvar
: var
int¶
The flagvar slot to get the value of ranks to set/add/remove. This must be a valid flagvar slot or an exception will be thrown. This must contains var
once otherwise the value will be interpreted as value
which may cause an exception to be thrown.
operation
: add
| sub
¶
The operation to perform using the current rank and the resolved value. add
will add the value to the current amount while sub
will subtract the value to the current amount. The new value is clamped from 0 to the required amount for the next level - 1 after the operation. Any other value will be interpreted as syntax value
/flagvar
which may cause an exception to be thrown.
Remarks¶
This command only manages the rank, it does not manage the amount of Exploration Points. For that one, use exp.