RuleFunction_CharacterLevelRange - arkayenro/arkinventory GitHub Wiki

Rule Functions > Character Level Range

clr( arg1, arg2 )

Checks if an item can be equipped by a character arg1 levels below, or arg2 levels above your current level.

Arguments

  • arg1 (numeric) = number of levels below the current characters level

  • arg2 (numeric) = number of levels above the current characters level

Notes

  • This is a pure item level (stat) check, it does not take into account class or other restrictions.

  • If only the first argument is specified then it will be used for both arguments. eg, clr( 5 ) is equivalent to clr( 5, 5 )

  • no argument will generate an error

Examples

clr( 2, 5 )
clr( 5 )