changed example authored by Lxlp's avatar Lxlp
...@@ -13,11 +13,17 @@ Checks if the given numeric variable is within a certain range. ...@@ -13,11 +13,17 @@ Checks if the given numeric variable is within a certain range.
## Examples ## Examples
```yaml ```yaml
ShootCheck:
Cooldown: 0
Conditions: Conditions:
- variableInRange{var=caster.Cooldown;value=<0.01} cancel - variableInRange{var=caster.shootsLeft;value=>0} castInstead ShootThemUp
Skills: Skills:
- setvariable{var=caster.Cooldown;type=float;value="10"} - message{m="&7Reloading..."} @self
- message{m="&7Cooldown over!"} - delay 0
- setskillcooldown{skill=ShootCheckM;seconds=2} @self
- delay 20
- setvariable{var=caster.shootsLeft;value=10} @self
- message{m="&7Reloaded!"} @self
``` ```
... ...
......