Changes
Page history
updated layout and informations
authored
Jun 14, 2023
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/conditions/variableinrange.md
View page @
aabd306d
**Description:**
Checks if the given numeric variable is within a certain range.
## Description
Checks if the given numeric variable is within a certain range.
---
**Attributes:**
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| variable | name, n, var, key, k | Variable to match | |
| value | val, v, range, r | A number range to match | |
| Attribute | Aliases | Description |
| --------- | ------------- | ------------------------- |
| variable | name, n, var, key, k | Variable to match |
| value| val, v| A number range to match|
---
## Examples
**Examples:**
```
yaml
```
Conditions
:
Conditions
:
-
variableInRange{var=caster.Cooldown;value=<0.01} cancel
-
variableInRange{var=caster.Cooldown;value=<0.01} cancel
Skills
:
Skills
:
...
@@ -21,9 +19,7 @@
...
@@ -21,9 +19,7 @@
-
message{m="&7Cooldown over!"}
-
message{m="&7Cooldown over!"}
```
```
---
**Extra Information:**
-
[x] Aliases: varinrange, varrange
## Aliases
-
[x] Type: Skill
-
[x] varinrange
\ No newline at end of file
-
[x] varrange
\ No newline at end of file