item_level_equals

Passes when the held item's level for a given level type equals the specified value.

Categories: inventory

Required arguments

Key(s)DescriptionType
nameThe name of the level type to check on the held item.STRING
levelThe exact level the item must have.EXPRESSION

Example

conditions:
  - id: item_level_equals
    args:
      name: <value>
      level: 5 + %level%