EUWiki

Effect

Clamp variable

Clamps a variable the specified max and min on the current scope

clamp_variable = { name = X max = Y min = Z }

Where X is the name of the variable

Where Y and Z are script values