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) | Description | Type |
|---|---|---|
type | The magic type to check. | STRING |
amount | The maximum amount of magic allowed. | EXPRESSION |
Example
conditions:
- id: below_magic
args:
type: <value>
amount: 50 + %level%