ConditionEntity
variableInRange
since v4.6Checks if the given numeric variable is within a certain range.
Aliases
varinrangevarrange
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value val, v | PlaceholderString | — | A number range to match |
Examples & Notes
Examples
ShootCheck:
Cooldown: 0
Conditions:
- variableInRange{var=caster.shootsLeft;value=>0} castInstead ShootThemUp
Skills:
- message{m="&7Reloading..."} @self
- delay 0
- setskillcooldown{skill=ShootCheck;seconds=2} @self
- delay 20
- setvariable{var=caster.shootsLeft;value=10} @self
- message{m="&7Reloaded!"} @self
Universal Condition Options
- Author:
- Ashijin