below_magic

Passes when the player's magic of the given type is at or below the maximum amount.

Categories: player

Required arguments

Key(s)DescriptionType
typeThe magic type to check.STRING
amountThe maximum amount of magic allowed.EXPRESSION

Example

conditions:
  - id: below_magic
    args:
      type: <value>
      amount: 50 + %level%