removed new syntax inconsistency after gitlab update authored by Lxlp's avatar Lxlp
[[_TOC_]] [[_TOC_]]
## Introduction ## Introduction
Conditions are used to determine whether or not an action may execute. Conditions are used to determine whether or not an action may execute.
Conditions can be used in [1]: Conditions can be used in [1]:
- [Skill Mechanics](/skills/mechanics/skill) - [Skill Mechanics](/skills/mechanics/skill)
- [Drop Tables](/drops/Drops#drop-tables) - [Drop Tables](/drops/Drops#drop-tables)
- [Spawners](/Spawners) - [Spawners](/Spawners)
- [Random Spawners](/Random%20Spawns) - [Random Spawners](/Random%20Spawns)
When applying multiple conditions, all of them must be met in order for the skill to be executed. Some conditions allow arrays that can be split by commas. Such conditions only require one of the strings in the array to match. When applying multiple conditions, all of them must be met in order for the skill to be executed. Some conditions allow arrays that can be split by commas. Such conditions only require one of the strings in the array to match.
To see how to use in-line conditions, [click here!](/skills/Inline-Conditions) To see how to use in-line conditions, [click here!](/skills/Inline-Conditions)
## Types ## Types
Conditions can be broken into four types: Conditions can be broken into four types:
1. Entity Conditions: These check the conditions of an entity. 1. Entity Conditions: These check the conditions of an entity.
2. Location Conditions: These check the conditions at a location. If a location condition is used while an entity is targeted, it will check the conditions at the entity's location. 2. Location Conditions: These check the conditions at a location. If a location condition is used while an entity is targeted, it will check the conditions at the entity's location.
3. Compare conditions: These check for certain conditions between two different "things". For example, "Cuboid" will return true if a target is within a cube where the corners are two coordinates 3. Compare conditions: These check for certain conditions between two different "things". For example, "Cuboid" will return true if a target is within a cube where the corners are two coordinates
4. Meta conditions: they will not necessarily check against any inherent property of either the caster or a target. For instance, "StringEquals" will return true or false depending on whether two strings match. Those strings *can* be placeholders that fetch the value from either the caster or a target, but that is just one possible application. 4. Meta conditions: they will not necessarily check against any inherent property of either the caster or a target. For instance, "StringEquals" will return true or false depending on whether two strings match. Those strings *can* be placeholders that fetch the value from either the caster or a target, but that is just one possible application.
## Usage ## Usage
Conditions can also be used in three different places within a metaskill: Conditions can also be used in three different places within a metaskill:
#### Conditions #### Conditions
Conditions in this section check against the caster or its location. Conditions in this section check against the caster or its location.
```yaml ```yaml
Conditions: Conditions:
- health{h=>10} - health{h=>10}
``` ```
> Checks if the caster has more than 10 health points > Checks if the caster has more than 10 health points
```yaml ```yaml
Conditions: Conditions:
- globalscore{objective=Test;v=>10} - globalscore{objective=Test;v=>10}
``` ```
> In the example above, the globalscore condition will check the caster's global score. > In the example above, the globalscore condition will check the caster's global score.
## ---
#### TargetConditions
Conditions in this section check against the [inherited target](/Skills/Metaskills#inheritance) of the metaskill #### TargetConditions
Conditions in this section check against the [inherited target](/Skills/Metaskills#inheritance) of the metaskill
```yaml
TargetConditions: ```yaml
- health{h=>10} TargetConditions:
``` - health{h=>10}
> Checks if the inherited targeted entities have more than 10 health points, and only those that do will be inherited as an inherited target by the metaskill. If none do then the metaskill, by default, will not execute. ```
> Checks if the inherited targeted entities have more than 10 health points, and only those that do will be inherited as an inherited target by the metaskill. If none do then the metaskill, by default, will not execute.
```yaml
TargetConditions: ```yaml
- globalscore{objective=Test;v=>10} TargetConditions:
``` - globalscore{objective=Test;v=>10}
> The example above the globalscore condition will check the inherited target's global score. Since globalscore is an entity condition, it will only work if an entity is targeted. ```
> The example above the globalscore condition will check the inherited target's global score. Since globalscore is an entity condition, it will only work if an entity is targeted.
##
#### TriggerConditions ---
Conditions in this section check against the trigger of the metaskill
```yaml #### TriggerConditions
TriggerConditions: Conditions in this section check against the trigger of the metaskill
- health{h=>10} ```yaml
``` TriggerConditions:
> Checks if the trigger of the metaskill has more than 10 health points - health{h=>10}
```
## Ranged Values > Checks if the trigger of the metaskill has more than 10 health points
Ranged values use either the format **#to#** or **#-#**. You must use "to" instead of "-" if you want to use negative numbers in the range. For:
```yaml ## Ranged Values
YourMagnificentSkill: Ranged values use either the format **#to#** or **#-#**. You must use "to" instead of "-" if you want to use negative numbers in the range. For:
Conditions: ```yaml
- altitude{a=1-5} YourMagnificentSkill:
TargetConditions: Conditions:
- distance{d=1to10} true - altitude{a=1-5}
TriggerConditions: TargetConditions:
- distance{d=1to10} true - distance{d=1to10} true
``` TriggerConditions:
- distance{d=1to10} true
## Condition Actions ```
Condition Actions allow you to do additional things based off of conditions. The default condition action is **true** ## Condition Actions
| Action | Description | Condition Actions allow you to do additional things based off of conditions. The default condition action is **true**
|----------------|---------------------------------------------------------------------------------------|
| `true` | The skill will run if this condition is met | | Action | Description |
| `false` | The skill will *not* run if this condition is met | |----------------|---------------------------------------------------------------------------------------|
| `power` [multiplier] | Multiplies the skill's power by the value of `multiplier` (e.i. power 2.0 would double the skill's power) | | `true` | The skill will run if this condition is met |
| `cast` [skill] | Casts an additional skill if the condition is met, without having effect on the execution of original skill | | `false` | The skill will *not* run if this condition is met |
| `castinstead` [skill] | Casts a different skill instead if the condition is met | | `power` [multiplier] | Multiplies the skill's power by the value of `multiplier` (e.i. power 2.0 would double the skill's power) |
| `orElseCast` [skill] | Casts a different skill instead if the condition is not met | | `cast` [skill] | Casts an additional skill if the condition is met, without having effect on the execution of original skill |
| `castinstead` [skill] | Casts a different skill instead if the condition is met |
<!-- | `orElseCast` [skill] | Casts a different skill instead if the condition is not met |
| `level` | |
--> <!--
| `level` | |
```yaml -->
Conditions:
- day true ```yaml
Skills: Conditions:
- message{m="It's day!"} @self - day true
``` Skills:
> Will run only if it's day in the caster's world - message{m="It's day!"} @self
```
```yaml > Will run only if it's day in the caster's world
Conditions:
- day false ```yaml
Skills: Conditions:
- message{m="It's *not* day!"} @self - day false
``` Skills:
> Will run only if it's *not* day in the caster's world - message{m="It's *not* day!"} @self
> The opposite behavior of `true` ```
> Will run only if it's *not* day in the caster's world
```yaml > The opposite behavior of `true`
ExampleSkill:
Conditions: ```yaml
- day true ExampleSkill:
- sunny orElseCast OtherSkill Conditions:
Skills: - day true
- message{m="It's day and sunny!"} @self - sunny orElseCast OtherSkill
Skills:
OtherSkill: - message{m="It's day and sunny!"} @self
Skills:
- message{m="It's day and not sunny!"} @self OtherSkill:
``` Skills:
> If a condition line is not met *(the condition is met and the condition action if false or vice versa)* [no more conditions will be checked](https://en.wikipedia.org/wiki/Short-circuit_evaluation) - message{m="It's day and not sunny!"} @self
> So even if OtherSkill is executed because of the `sunny` condition we can be sure that the `day` condition is also met, or else no skill would have run at all because ```
> `day true` > If a condition line is not met *(the condition is met and the condition action if false or vice versa)* [no more conditions will be checked](https://en.wikipedia.org/wiki/Short-circuit_evaluation)
> is checked before > So even if OtherSkill is executed because of the `sunny` condition we can be sure that the `day` condition is also met, or else no skill would have run at all because
> `sunny orElseCast OtherSkill` > `day true`
> is checked before
```yaml > `sunny orElseCast OtherSkill`
YourAwesomeSkill:
Conditions: ```yaml
- day true YourAwesomeSkill:
TargetConditions: Conditions:
- stance{s=defensive} power 0.5 - day true
TriggerConditions: TargetConditions:
- stance{stance=defensive} power 0.5 - stance{s=defensive} power 0.5
- score{objective=test;value=>20} false TriggerConditions:
- haspotioneffect{type=POISON;level=>0;duration=0to100} true - stance{stance=defensive} power 0.5
``` - score{objective=test;value=>20} false
- haspotioneffect{type=POISON;level=>0;duration=0to100} true
```
## Composite Conditions
Conditions can also be grouped by parenthesis and evaluated via the **AND** (`&&`) and **OR** (`||`) boolean operators.
Conditions used this way can still have a condition action. ## Composite Conditions
```yaml Conditions can also be grouped by parenthesis and evaluated via the **AND** (`&&`) and **OR** (`||`) boolean operators.
Conditions: Conditions used this way can still have a condition action.
- ((day false || raining true) && onBlock{material=LIME_CONCRETE}) true ```yaml
``` Conditions:
> The condition is met when it's either raining or not daytime, and, in addition to that, only when the caster is on a LIME_CONCRETE block - ((day false || raining true) && onBlock{material=LIME_CONCRETE}) true
```
> The day and raining have their condition action declared, while onBlock uses the default one, `true` > The condition is met when it's either raining or not daytime, and, in addition to that, only when the caster is on a LIME_CONCRETE block
> The day and raining have their condition action declared, while onBlock uses the default one, `true`
## Universal Attributes
Every condition shares and can use the following attributes
## Universal Attributes
| Attribute | Aliases | Description | Default | Every condition shares and can use the following attributes
|-----------|-----------|----------------------------------------------------------------------|---------|
| onFailSkill | onFail | The Metaskill to call if this condition does not check |<!--type:Metaskill-->| | Attribute | Aliases | Description | Default |
| onPassSkill | onPass | The Metaskill to call if this condition does check |<!--type:Metaskill-->| |-----------|-----------|----------------------------------------------------------------------|---------|
| onFailSkill | onFail | The Metaskill to call if this condition does not check |<!--type:Metaskill-->|
| onPassSkill | onPass | The Metaskill to call if this condition does check |<!--type:Metaskill-->|
# Additional Conditions
Links to conditions added by addon plugins. Any conditions from these links will not work without that plugin installed.
# Additional Conditions
- [ModelEngine 4](https://git.mythiccraft.io/mythiccraft/model-engine-4/-/wikis/Skills/Conditions) Links to conditions added by addon plugins. Any conditions from these links will not work without that plugin installed.
- [Mythic Crucible](https://git.mythiccraft.io/mythiccraft/mythiccrucible/-/wikis/Skills/Conditions)
- [Mythic Enchantments](https://git.mythiccraft.io/mythiccraft/mythicenchants/-/wikis/Skills/Conditions) - [ModelEngine 4](https://git.mythiccraft.io/mythiccraft/model-engine-4/-/wikis/Skills/Conditions)
- [MCPets](https://mcpets.gitbook.io/mcpets/tutorials/mythicmobs-features#conditions) - [Mythic Crucible](https://git.mythiccraft.io/mythiccraft/mythiccrucible/-/wikis/Skills/Conditions)
- [Mythic Enchantments](https://git.mythiccraft.io/mythiccraft/mythicenchants/-/wikis/Skills/Conditions)
# Conditions - [MCPets](https://mcpets.gitbook.io/mcpets/tutorials/mythicmobs-features#conditions)
| Condition | Type | Description | # Conditions
|-------------------------------------------------------------------------------|----------|----------------------------------------------------------------------------------------------|
| [Altitude](/skills/conditions/altitude) | Entity | Tests how far above the ground the target entity is | | Condition | Type | Description |
| [Biome](/skills/conditions/biome) | Location | Tests if the target is within the given list of biomes | |-------------------------------------------------------------------------------|----------|----------------------------------------------------------------------------------------------|
| [BiomeType](/skills/conditions/biometype) | Location | Tests for the biome category at a location. | | [Altitude](/skills/conditions/altitude) | Entity | Tests how far above the ground the target entity is |
| [BlockType](/skills/conditions/blocktype) | Location | Tests the material type present at the target location | | [Biome](/skills/conditions/biome) | Location | Tests if the target is within the given list of biomes |
| [BlockTypeInRadius](/skills/conditions/BlockTypeInRadius) | Location | Checks against the amount of specified blocks in a radius around the target location | | [BiomeType](/skills/conditions/biometype) | Location | Tests for the biome category at a location. |
| [Blocking](/skills/conditions/blocking) | Entity | Tests if the targeted player is blocking with a shield | | [BlockType](/skills/conditions/blocktype) | Location | Tests the material type present at the target location |
| [BoundingBoxesOverlap](/skills/conditions/BoundingBoxesOverlap) | Compare | Checks if the caster's BoundingBox overlaps with the target's | | [BlockTypeInRadius](/skills/conditions/BlockTypeInRadius) | Location | Checks against the amount of specified blocks in a radius around the target location |
| [BowTension](/skills/conditions/bowtension) | Meta | Checks the bow tension of when an entity shoots from a bow | | [Blocking](/skills/conditions/blocking) | Entity | Tests if the targeted player is blocking with a shield |
| [Burning](/skills/conditions/burning) | Entity | Whether or not the target entity is on fire | | [BoundingBoxesOverlap](/skills/conditions/BoundingBoxesOverlap) | Compare | Checks if the caster's BoundingBox overlaps with the target's |
| [Chance](/skills/conditions/chance) | Meta | The chance that the metaskill has to be executed | | [BowTension](/skills/conditions/bowtension) | Meta | Checks the bow tension of when an entity shoots from a bow |
| [Charged](/skills/conditions/charged) | Entity | Checks if the target creeper is charged | | [Burning](/skills/conditions/burning) | Entity | Whether or not the target entity is on fire |
| [Children](/skills/conditions/children) | Entity | Tests how many children the caster has | | [Chance](/skills/conditions/chance) | Meta | The chance that the metaskill has to be executed |
| [Color](/skills/conditions/color) | Entity | Tests the entity's colors | | [Charged](/skills/conditions/charged) | Entity | Checks if the target creeper is charged |
| [CompareValues](/skills/conditions/CompareValues) | Meta | Compares two values based on a specified operation | | [Children](/skills/conditions/children) | Entity | Tests how many children the caster has |
| [Crouching](/skills/conditions/crouching) | Entity | Whether or not the target entity is crouching | | [Color](/skills/conditions/color) | Entity | Tests the entity's colors |
| [Cuboid](/skills/conditions/cuboid) | Compare | Whether the target is within the given cuboid between location1 x location2 | | [CompareValues](/skills/conditions/CompareValues) | Meta | Compares two values based on a specified operation |
| [DamageAmount](/skills/conditions/DamageAmount) | Meta | Checks for a range of damage taken | | [Crouching](/skills/conditions/crouching) | Entity | Whether or not the target entity is crouching |
| [DamageCause](/skills/conditions/DamageCause) | Meta | Checks the type of the damage cause | | [Cuboid](/skills/conditions/cuboid) | Compare | Whether the target is within the given cuboid between location1 x location2 |
| [DamageTag](/skills/conditions/damagetag) | Meta | Checks the tags of the damage cause | | [DamageAmount](/skills/conditions/DamageAmount) | Meta | Checks for a range of damage taken |
| [Dawn](/skills/conditions/dawn) | Location | If the time is dawn, from 22000 to 2000 in-game time | | [DamageCause](/skills/conditions/DamageCause) | Meta | Checks the type of the damage cause |
| [Day](/skills/conditions/day) | Location | If the time is day, from 2000 to 10000 in-game time | | [DamageTag](/skills/conditions/damagetag) | Meta | Checks the tags of the damage cause |
| [Dimension](/skills/conditions/dimension) | Location | If the target location is within a certain dimension | | [Dawn](/skills/conditions/dawn) | Location | If the time is dawn, from 22000 to 2000 in-game time |
| [DirectionalVelocity](/skills/conditions/directionalvelocity) | Entity | If the target has a velocity matching the given parameters | | [Day](/skills/conditions/day) | Location | If the time is day, from 2000 to 10000 in-game time |
| [Distance](/skills/conditions/distance) | Compare | Whether the distance between the caster and target is within the given range | | [Dimension](/skills/conditions/dimension) | Location | If the target location is within a certain dimension |
| [DistanceFromLocation](/skills/conditions/DistanceFromLocation) | Entity | Whether the distance between the target and a specified location is within a certain range | | [DirectionalVelocity](/skills/conditions/directionalvelocity) | Entity | If the target has a velocity matching the given parameters |
| [DistanceFromPin](/skills/conditions/DistanceFromPin) | Location | Checks if the target is within a certain distance of a specified pin | | [Distance](/skills/conditions/distance) | Compare | Whether the distance between the caster and target is within the given range |
| [DistanceFromSpawn](/skills/conditions/distancefromspawn) | Location | Whether the distance from the world's spawn point to the target is within the given range | | [DistanceFromLocation](/skills/conditions/DistanceFromLocation) | Entity | Whether the distance between the target and a specified location is within a certain range |
| [DistanceFromTrackedLocation](/skills/conditions/distancefromtrackedlocation) | Location | Whether the distance from the tracked location to the caster is within the given range | | [DistanceFromPin](/skills/conditions/DistanceFromPin) | Location | Checks if the target is within a certain distance of a specified pin |
| [Dusk](/skills/conditions/dusk) | Location | If the time is dusk, from 14000 to 18000 in-game time. | | [DistanceFromSpawn](/skills/conditions/distancefromspawn) | Location | Whether the distance from the world's spawn point to the target is within the given range |
| [EnchantingExperience](/skills/conditions/EnchantingExperience) | Entity | Checks the target player's experience points | | [DistanceFromTrackedLocation](/skills/conditions/distancefromtrackedlocation) | Location | Whether the distance from the tracked location to the caster is within the given range |
| [EnchantingLevel](/skills/conditions/enchantingLevel) | Entity | Checks the target player's experience level | | [Dusk](/skills/conditions/dusk) | Location | If the time is dusk, from 14000 to 18000 in-game time. |
| [EnderDragonAlive](/skills/conditions/EnderDragonAlive) | Location | Checks if there is at least one EnderDragon alive in the world of the targeted location | | [EnchantingExperience](/skills/conditions/EnchantingExperience) | Entity | Checks the target player's experience points |
| [EnderDragonPhase](/skills/conditions/EnderDragonPhase) | Entity | Checks if the ender dragon is in a phase or phases | | [EnchantingLevel](/skills/conditions/enchantingLevel) | Entity | Checks the target player's experience level |
| [EntityItemIsSimilar](/skills/conditions/EntityItemIsSimilar) | Entity | Tests if the target item entity is similar to another item | | [EnderDragonAlive](/skills/conditions/EnderDragonAlive) | Location | Checks if there is at least one EnderDragon alive in the world of the targeted location |
| [EntityItemType](/skills/conditions/EntityItemType) | Entity | Tests the type of the target item entity | | [EnderDragonPhase](/skills/conditions/EnderDragonPhase) | Entity | Checks if the ender dragon is in a phase or phases |
| [EntityMaterialType](/skills/conditions/EntityMaterialType) | Entity | Tests the material of the target item entity | | [EntityItemIsSimilar](/skills/conditions/EntityItemIsSimilar) | Entity | Tests if the target item entity is similar to another item |
| [EntityType](/skills/conditions/entitytype) | Entity | Tests the entity type of the target | | [EntityItemType](/skills/conditions/EntityItemType) | Entity | Tests the type of the target item entity |
| [Faction](/skills/conditions/faction) | Entity | Tests for the targets faction | | [EntityMaterialType](/skills/conditions/EntityMaterialType) | Entity | Tests the material of the target item entity |
| [FallSpeed](/skills/conditions/fallspeed) | Entity | If the fall speed of the target is within the given range | | [EntityType](/skills/conditions/entitytype) | Entity | Tests the entity type of the target |
| [FieldOfView](/skills/conditions/fieldofview) | Compare | Tests if the target is within the given angle from where the caster is looking | | [Faction](/skills/conditions/faction) | Entity | Tests for the targets faction |
| [FoodLevel](/skills/conditions/FoodLevel) | Entity | Checks if the target has food within the range | | [FallSpeed](/skills/conditions/fallspeed) | Entity | If the fall speed of the target is within the given range |
| [FoodSaturation](/skills/conditions/FoodSaturation) | Entity | Checks if the target has food within the range | | [FieldOfView](/skills/conditions/fieldofview) | Compare | Tests if the target is within the given angle from where the caster is looking |
| [Gamemode](/skills/conditions/Gamemode) | Entity | Checks if the target player's gamemode is the specified one | | [FoodLevel](/skills/conditions/FoodLevel) | Entity | Checks if the target has food within the range |
| [Gliding](/skills/conditions/gliding) | Entity | If the target is gliding | | [FoodSaturation](/skills/conditions/FoodSaturation) | Entity | Checks if the target has food within the range |
| [GlobalScore](/skills/conditions/globalscore) | Entity | Checks a global scoreboard value | | [Gamemode](/skills/conditions/Gamemode) | Entity | Checks if the target player's gamemode is the specified one |
| [HasAI](/skills/conditions/hasai) | Entity | Checks if the target entity has its AI enabled | | [Gliding](/skills/conditions/gliding) | Entity | If the target is gliding |
| [HasAura](/skills/conditions/hasaura) | Entity | Checks if the target entity has the given aura | | [GlobalScore](/skills/conditions/globalscore) | Entity | Checks a global scoreboard value |
| [HasAuraStacks](/skills/conditions/hasaurastacks) | Entity | Tests if the target has the given range of stacks from an aura | | [HasAI](/skills/conditions/hasai) | Entity | Checks if the target entity has its AI enabled |
| [HasAuraType](/skills/conditions/HasAuraType) | Entity | Checks if the target entity has the given aura type | | [HasAura](/skills/conditions/hasaura) | Entity | Checks if the target entity has the given aura |
| [HasCurrency](/skills/conditions/hascurrency) | Entity | If the target has the given amount of vault currency | | [HasAuraStacks](/skills/conditions/hasaurastacks) | Entity | Tests if the target has the given range of stacks from an aura |
| [HasEnchantment](/skills/conditions/HasEnchantment) | Entity | Checks if the target entity's equipped item has an enchantment | | [HasAuraType](/skills/conditions/HasAuraType) | Entity | Checks if the target entity has the given aura type |
| [HasFreeInventorySlot](/skills/conditions/HasFreeInventorySlot) | Entity | Checks if the evaluated entity has a free inventory slot | | [HasCurrency](/skills/conditions/hascurrency) | Entity | If the target has the given amount of vault currency |
| [HasGravity](/skills/conditions/hasgravity) | Entity | Tests if the target mob has gravity | | [HasEnchantment](/skills/conditions/HasEnchantment) | Entity | Checks if the target entity's equipped item has an enchantment |
| [HasItem](/skills/conditions/hasItem) | Entity | Tests if the target player has the given number of given material | | [HasFreeInventorySlot](/skills/conditions/HasFreeInventorySlot) | Entity | Checks if the evaluated entity has a free inventory slot |
| [HasOffhand](/skills/conditions/HasOffhand) | Entity | Checks if the target entity has something in the offhand | | [HasGravity](/skills/conditions/hasgravity) | Entity | Tests if the target mob has gravity |
| [HasOwner](/skills/conditions/hasowner) | Entity | Tests if the target mob has an owner | | [HasItem](/skills/conditions/hasItem) | Entity | Tests if the target player has the given number of given material |
| [HasParent](/skills/conditions/hasparent) | Entity | Tests if the target mob has a parent | | [HasOffhand](/skills/conditions/HasOffhand) | Entity | Checks if the target entity has something in the offhand |
| [HasPassenger](/skills/conditions/hasPassenger) | Entity | Checks if the target entity has a passenger | | [HasOwner](/skills/conditions/hasowner) | Entity | Tests if the target mob has an owner |
| [HasPermission](/skills/conditions/haspermission) | Entity | Tests if the target player has a permission | | [HasParent](/skills/conditions/hasparent) | Entity | Tests if the target mob has a parent |
| [HasPotionEffect](/skills/conditions/haspotioneffect) | Entity | Tests if the target entity has a potion effect | | [HasPassenger](/skills/conditions/hasPassenger) | Entity | Checks if the target entity has a passenger |
| [HasTag](/skills/conditions/hastag) | Entity | Tests if the target has a scoreboard tag | | [HasPermission](/skills/conditions/haspermission) | Entity | Tests if the target player has a permission |
| [Health](/skills/conditions/health) | Entity | Matches the target's health | | [HasPotionEffect](/skills/conditions/haspotioneffect) | Entity | Tests if the target entity has a potion effect |
| [HealthPercent](/skills/conditions/HealthPercent) | Entity | Matches the target's health percentage or multiplier | | [HasTag](/skills/conditions/hastag) | Entity | Tests if the target has a scoreboard tag |
| [Height](/skills/conditions/height) | Location | Checks if the target's Y location is within a range | | [Health](/skills/conditions/health) | Entity | Matches the target's health |
| [HeightAbove](/skills/conditions/heightabove) | Location | Checks if the target's Y location is above a value | | [HealthPercent](/skills/conditions/HealthPercent) | Entity | Matches the target's health percentage or multiplier |
| [HeightBelow](/skills/conditions/heightbelow) | Location | Checks if the target's Y location is below a given value | | [Height](/skills/conditions/height) | Location | Checks if the target's Y location is within a range |
| [Holding](/skills/conditions/holding) | Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) | | [HeightAbove](/skills/conditions/heightabove) | Location | Checks if the target's Y location is above a value |
| [inClaim](/skills/conditions/inClaim) | Location | Checks if the target location is inside a claim | | [HeightBelow](/skills/conditions/heightbelow) | Location | Checks if the target's Y location is below a given value |
| [InCombat](/skills/conditions/incombat) | Entity | Checks if the target mob is considered in combat | | [Holding](/skills/conditions/holding) | Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) |
| [InPinRegion](/skills/conditions/InPinRegion) | Location | Checks if the target location is within a region delimited by two pins | | [inClaim](/skills/conditions/inClaim) | Location | Checks if the target location is inside a claim |
| [IsInvulnerable](/skills/conditions/IsInvulnerable) | Entity | Checks whether the target entity is invulnerable | | [InCombat](/skills/conditions/incombat) | Entity | Checks if the target mob is considered in combat |
| [IsInSurvivalMode](/skills/conditions/IsInSurvivalMode) | Entity | Checks if the target player is in survival mode | | [InPinRegion](/skills/conditions/InPinRegion) | Location | Checks if the target location is within a region delimited by two pins |
| [Inside](/skills/conditions/inside) | Location | Checks if the target has a block over their head | | [IsInvulnerable](/skills/conditions/IsInvulnerable) | Entity | Checks whether the target entity is invulnerable |
| [isBaby](/skills/conditions/isbaby) | Entity | Checks if the target entity is a baby | | [IsInSurvivalMode](/skills/conditions/IsInSurvivalMode) | Entity | Checks if the target player is in survival mode |
| [isCaster](/skills/conditions/iscaster) | Entity | Checks if the target is the caster | | [Inside](/skills/conditions/inside) | Location | Checks if the target has a block over their head |
| [isChild](/skills/conditions/ischild) | Entity | Checks if the target is a child of the caster | | [isBaby](/skills/conditions/isbaby) | Entity | Checks if the target entity is a baby |
| [isClimbing](/skills/conditions/isClimbing) | Entity | Checks if the target entity is climbing | | [isCaster](/skills/conditions/iscaster) | Entity | Checks if the target is the caster |
| [IsCreeperPrimed](/skills/conditions/IsCreeperPrimed) | Entity | Checks if the target creeper is primed to explode | | [isChild](/skills/conditions/ischild) | Entity | Checks if the target is a child of the caster |
| [isFlying](/skills/conditions/isflying) | Entity | Checks if the target player is flying | | [isClimbing](/skills/conditions/isClimbing) | Entity | Checks if the target entity is climbing |
| [isFrozen](/skills/conditions/isfrozen) | Entity | Checks if the target entity is frozen | | [IsCreeperPrimed](/skills/conditions/IsCreeperPrimed) | Entity | Checks if the target creeper is primed to explode |
| [isLeashed](/skills/conditions/isleashed) | Entity | Checks if the target has been leashed | | [isFlying](/skills/conditions/isflying) | Entity | Checks if the target player is flying |
| [isLiving](/skills/conditions/isliving) | Entity | Checks if the target is a living entity | | [isFrozen](/skills/conditions/isfrozen) | Entity | Checks if the target entity is frozen |
| [isMonster](/skills/conditions/ismonster) | Entity | Checks if the target is a monster | | [isLeashed](/skills/conditions/isleashed) | Entity | Checks if the target has been leashed |
| [isMythicMob](/skills/conditions/ismythicmob) | Entity | Checks if the target is a MythicMob | | [isLiving](/skills/conditions/isliving) | Entity | Checks if the target is a living entity |
| [IsParentAlive](/skills/conditions/IsParentAlive) | Entity | Checks if the parent of the target entity is still alive | | [isMonster](/skills/conditions/ismonster) | Entity | Checks if the target is a monster |
| [IsParent](/skills/conditions/IsParent) | Compare | Checks if the target entity is the parent of the caster | | [isMythicMob](/skills/conditions/ismythicmob) | Entity | Checks if the target is a MythicMob |
| [isPlayer](/skills/conditions/isplayer) | Entity | Checks if the target is a player | | [IsParentAlive](/skills/conditions/IsParentAlive) | Entity | Checks if the parent of the target entity is still alive |
| [isRaiderPatrolLeader](/skills/conditions/isRaiderPatrolLeader) | Entity | Checks if the target entity is the captain of a pillager group | | [IsParent](/skills/conditions/IsParent) | Compare | Checks if the target entity is the parent of the caster |
| [isSaddled](/skills/conditions/issaddled) | Entity | Checks if the target entity is saddled | | [isPlayer](/skills/conditions/isplayer) | Entity | Checks if the target is a player |
| [IsSibling](/skills/conditions/IsSibling) | Compare | Whether the target entity is a sibling of the caster | | [isRaiderPatrolLeader](/skills/conditions/isRaiderPatrolLeader) | Entity | Checks if the target entity is the captain of a pillager group |
| [isSkill](/skills/conditions/IsSkill) | Meta | Checks whether the specified metaskill exists | | [isSaddled](/skills/conditions/issaddled) | Entity | Checks if the target entity is saddled |
| [isTamed](/skills/conditions/IsTamed) | Entity | Checks if the target entity is tamed | | [IsSibling](/skills/conditions/IsSibling) | Compare | Whether the target entity is a sibling of the caster |
| [IsUsingSpyglass](/skills/conditions/IsUsingSpyglass) | Entity | Checks if the target player is using a spyglass | | [isSkill](/skills/conditions/IsSkill) | Meta | Checks whether the specified metaskill exists |
| [ItemGroupOnCooldown](/skills/conditions/ItemGroupOnCooldown) | Entity | Checks whether the target player has the specified item group on cooldown | | [isTamed](/skills/conditions/IsTamed) | Entity | Checks if the target entity is tamed |
| [ItemIsSimilar](/skills/conditions/itemissimilar) | Entity | Checks that targeted player's inventory slot if it's similar to an item | | [IsUsingSpyglass](/skills/conditions/IsUsingSpyglass) | Entity | Checks if the target player is using a spyglass |
| [ItemRecharging](/skills/conditions/itemrecharging) | Entity | Checks if the target's weapon is recharging | | [ItemGroupOnCooldown](/skills/conditions/ItemGroupOnCooldown) | Entity | Checks whether the target player has the specified item group on cooldown |
| [ItemType](/skills/conditions/ItemType) | Meta | Checks against the material of the item that triggered the skill | | [ItemIsSimilar](/skills/conditions/itemissimilar) | Entity | Checks that targeted player's inventory slot if it's similar to an item |
| [LastDamageCause](/skills/conditions/lastdamagecause) | Entity | Checks the target's last damage cause | | [ItemRecharging](/skills/conditions/itemrecharging) | Entity | Checks if the target's weapon is recharging |
| [LastSignal](/skills/conditions/lastsignal) | Entity | Matches the last signal received by the target mob | | [ItemType](/skills/conditions/ItemType) | Meta | Checks against the material of the item that triggered the skill |
| [Level](/skills/conditions/level) | Entity | Checks the target MythicMob's level | | [LastDamageCause](/skills/conditions/lastdamagecause) | Entity | Checks the target's last damage cause |
| [LightLevel](/skills/conditions/lightlevel) | Location | Tests the light level at the target location | | [LastSignal](/skills/conditions/lastsignal) | Entity | Matches the last signal received by the target mob |
| [LightLevelFromBlocks](/skills/conditions/lightlevelfromblocks) | Location | Tests the light level originating from light-emitting blocks at the target location | | [Level](/skills/conditions/level) | Entity | Checks the target MythicMob's level |
| [LineOfSight](/skills/conditions/lineofsight) | Compare | Tests if the target is within line of sight of the caster | | [LightLevel](/skills/conditions/lightlevel) | Location | Tests the light level at the target location |
| [LineOfSightFromOrigin](/skills/conditions/lineofsightfromorigin) | Compare | Tests if the target is within line of sight of the caster | | [LightLevelFromBlocks](/skills/conditions/lightlevelfromblocks) | Location | Tests the light level originating from light-emitting blocks at the target location |
| [LivingInRadius](/skills/conditions/LivingInRadius) | Location | Matches a range to how many living entities are in the given radius | | [LineOfSight](/skills/conditions/lineofsight) | Compare | Tests if the target is within line of sight of the caster |
| [LocalDifficulty](/skills/conditions/localdifficulty) | Location | Tests the difficulty scale at the target location | | [LineOfSightFromOrigin](/skills/conditions/lineofsightfromorigin) | Compare | Tests if the target is within line of sight of the caster |
| [LookingAt](/Skills/Conditions/LookingAt) | Entity | Checks if the player is looking at something | | [LivingInRadius](/skills/conditions/LivingInRadius) | Location | Matches a range to how many living entities are in the given radius |
| [LunarPhase](/skills/conditions/lunarphase) | Location | Checks the target world's lunar phase | | [LocalDifficulty](/skills/conditions/localdifficulty) | Location | Tests the difficulty scale at the target location |
| [MaterialisOnCooldown](/skills/conditions/MaterialIsOnCooldown) | Entity | Checks if the target player's specified material is on cooldown | | [LookingAt](/Skills/Conditions/LookingAt) | Entity | Checks if the player is looking at something |
| [MetaskillCondition](/skills/conditions/MetaskillCondition) | Meta | Casts a Metaskill that will determine if the condition should check or not | | [LunarPhase](/skills/conditions/lunarphase) | Location | Checks the target world's lunar phase |
| [MobsInChunk](/skills/conditions/mobsinchunk) | Location | Matches a range to how many mobs are in the target location's chunk | | [MaterialisOnCooldown](/skills/conditions/MaterialIsOnCooldown) | Entity | Checks if the target player's specified material is on cooldown |
| [MobsInRadius](/skills/conditions/mobsinradius) | Location | Checks how many mobs are in a given radius | | [MetaskillCondition](/skills/conditions/MetaskillCondition) | Meta | Casts a Metaskill that will determine if the condition should check or not |
| [MobsInWorld](/skills/conditions/mobsinworld) | Location | Matches a range to how many mobs are in the target world | | [MobsInChunk](/skills/conditions/mobsinchunk) | Location | Matches a range to how many mobs are in the target location's chunk |
| [MobsNearOrigin](/skills/conditions/MobsNearOrigin) | Meta | Matches a range to how many mobs are in the given radius around the origin | | [MobsInRadius](/skills/conditions/mobsinradius) | Location | Checks how many mobs are in a given radius |
| [MobSize](/skills/conditions/mobsize) | Entity | Checks the size of an entity that can have its size changed | | [MobsInWorld](/skills/conditions/mobsinworld) | Location | Matches a range to how many mobs are in the target world |
| [Moist](/skills/conditions/Moist) | Location | Checks if the target block of farmland is hydrated | | [MobsNearOrigin](/skills/conditions/MobsNearOrigin) | Meta | Matches a range to how many mobs are in the given radius around the origin |
| [MoistureLevel](/skills/conditions/moisturelevel) | Location | Checks if the target block of farmland has the specified level of hydratation | | [MobSize](/skills/conditions/mobsize) | Entity | Checks the size of an entity that can have its size changed |
| [MotionX](/skills/conditions/motionx) | Entity | Checks the X motion of the target entity against a range. | | [Moist](/skills/conditions/Moist) | Location | Checks if the target block of farmland is hydrated |
| [MotionY](/skills/conditions/motiony) | Entity | Checks the Y motion of the target entity against a range. | | [MoistureLevel](/skills/conditions/moisturelevel) | Location | Checks if the target block of farmland has the specified level of hydratation |
| [MotionZ](/skills/conditions/motionz) | Entity | Checks the Z motion of the target entity against a range. | | [MotionX](/skills/conditions/motionx) | Entity | Checks the X motion of the target entity against a range. |
| [Mounted](/skills/conditions/mounted) | Entity | If the target entity is riding a mount/vehicle | | [MotionY](/skills/conditions/motiony) | Entity | Checks the Y motion of the target entity against a range. |
| [Moving](/skills/conditions/moving) | Entity | If the target has a velocity greater than zero | | [MotionZ](/skills/conditions/motionz) | Entity | Checks the Z motion of the target entity against a range. |
| [MythicMobType](/skills/conditions/mythicmobtype) | Entity | Checks the MythicMob type of the target mob | | [Mounted](/skills/conditions/mounted) | Entity | If the target entity is riding a mount/vehicle |
| [MythicPack](/skills/conditions/mythicpack) | Meta | Checks for the presence of Pack | | [Moving](/skills/conditions/moving) | Entity | If the target has a velocity greater than zero |
| [MythicPackVersion](/skills/conditions/MythicPackVersion) | Meta | Checks if a pack has a specified version | | [MythicMobType](/skills/conditions/mythicmobtype) | Entity | Checks the MythicMob type of the target mob |
| [MythicPackVersionGreater](/skills/conditions/MythicPackVersionGreater) | Meta | Checks if a pack has a version greater or equal the specified one | | [MythicPack](/skills/conditions/mythicpack) | Meta | Checks for the presence of Pack |
| [Name](/skills/conditions/name) | Entity | Checks against the entity's name | | [MythicPackVersion](/skills/conditions/MythicPackVersion) | Meta | Checks if a pack has a specified version |
| [NearClaim](/skills/conditions/nearclaim) | Location | If the target location is near any GriefPrevention claims | | [MythicPackVersionGreater](/skills/conditions/MythicPackVersionGreater) | Meta | Checks if a pack has a version greater or equal the specified one |
| [Night](/skills/conditions/night) | Location | If the time is night, from 14000 to 22000 in-game time | | [Name](/skills/conditions/name) | Entity | Checks against the entity's name |
| [NotInRegion](/skills/conditions/notinregion) | Location | If the target location is not within the given WorldGuard region | | [NearClaim](/skills/conditions/nearclaim) | Location | If the target location is near any GriefPrevention claims |
| [OffGCD](/skills/conditions/offgcd) | Entity | Checks if the target mob has an active Global Cooldown | | [Night](/skills/conditions/night) | Location | If the time is night, from 14000 to 22000 in-game time |
| [OnBlock](/skills/conditions/onblock) | Location | Matches the block the target entity is standing on | | [NotInRegion](/skills/conditions/notinregion) | Location | If the target location is not within the given WorldGuard region |
| [OnGround](/skills/conditions/onground) | Entity | If the target entity is standing on solid ground | | [OffGCD](/skills/conditions/offgcd) | Entity | Checks if the target mob has an active Global Cooldown |
| [OriginDistanceFromPin](/skills/conditions/OriginDistanceFromPin) | Location | Checks if the origin is within a certain distance of a specified pin | | [OnBlock](/skills/conditions/onblock) | Location | Matches the block the target entity is standing on |
| [OriginLocation](/skills/conditions/OriginLocation) | Meta | Checks if the origin is at a given location | | [OnGround](/skills/conditions/onground) | Entity | If the target entity is standing on solid ground |
| [Outside](/skills/conditions/outside) | Location | If the target has open sky above them | | [OriginDistanceFromPin](/skills/conditions/OriginDistanceFromPin) | Location | Checks if the origin is within a certain distance of a specified pin |
| [Owner](/skills/conditions/owner) | Compare | Checks if the target entity is the owner of the caster | | [OriginLocation](/skills/conditions/OriginLocation) | Meta | Checks if the origin is at a given location |
| [OwnerIsOnline](/skills/conditions/ownerisonline) | Entity | Checks if the owner of the target mob is online, if the owner is a player | | [Outside](/skills/conditions/outside) | Location | If the target has open sky above them |
| [Pitch](/skills/conditions/pitch) | Entity | Checks if the pitch of the target entity is within a range | | [Owner](/skills/conditions/owner) | Compare | Checks if the target entity is the owner of the caster |
| [PlayerKills](/skills/conditions/playerkills) | Entity | Matches how many players the target mob has killed | | [OwnerIsOnline](/skills/conditions/ownerisonline) | Entity | Checks if the owner of the target mob is online, if the owner is a player |
| [PlayerNotWithin](/skills/conditions/playernotwithin) | Location | Checks if any players are within a radius of the target | | [Pitch](/skills/conditions/pitch) | Entity | Checks if the pitch of the target entity is within a range |
| [PlayerWithin](/skills/conditions/playerwithin) | Location | Checks if any players are within a radius of the target | | [PlayerKills](/skills/conditions/playerkills) | Entity | Matches how many players the target mob has killed |
| [PlayersInRadius](/skills/conditions/playersinradius) | Entity | Checks how many players are in a radius | | [PlayerNotWithin](/skills/conditions/playernotwithin) | Location | Checks if any players are within a radius of the target |
| [PlayersInWorld](/skills/conditions/playersinworld) | Meta | Matches the number of players in the caster's world | | [PlayerWithin](/skills/conditions/playerwithin) | Location | Checks if any players are within a radius of the target |
| [PlayersOnline](/skills/conditions/playersonline) | Meta | Matches the number of players online | | [PlayersInRadius](/skills/conditions/playersinradius) | Entity | Checks how many players are in a radius |
| [Plugin](/skills/conditions/plugin) | Meta | Checks if the specified plugin is running on the server | | [PlayersInWorld](/skills/conditions/playersinworld) | Meta | Matches the number of players in the caster's world |
| [Premium](/skills/conditions/premium) | Meta | Checks if MythicMobs Premium is running on the server | | [PlayersOnline](/skills/conditions/playersonline) | Meta | Matches the number of players online |
| [ProjectileHasEnded](/skills/conditions/ProjectileHasEnded) | Meta | Checks if the calling projectile has ended | | [Plugin](/skills/conditions/plugin) | Meta | Checks if the specified plugin is running on the server |
| [Raining](/skills/conditions/raining) | Location | If it's raining in the target world | | [Premium](/skills/conditions/premium) | Meta | Checks if MythicMobs Premium is running on the server |
| [Region](/skills/conditions/region) | Location | If the target is within the given WorldGuard region | | [ProjectileHasEnded](/skills/conditions/ProjectileHasEnded) | Meta | Checks if the calling projectile has ended |
| [SameFaction](/skills/conditions/samefaction) | Entity | Tests if the caster and target are in the same faction | | [Raining](/skills/conditions/raining) | Location | If it's raining in the target world |
| [Score](/skills/conditions/score) | Entity | Checks a scoreboard value of the target entity | | [Region](/skills/conditions/region) | Location | If the target is within the given WorldGuard region |
| [ServerIsPaper](/skills/conditions/ServerIsPaper) | Meta | Checks whether the server is running a fork of paper. | | [SameFaction](/skills/conditions/samefaction) | Entity | Tests if the caster and target are in the same faction |
| [ServerNmsVersion](/skills/conditions/servernmsversion) | Meta | Checks if the server is running the specified minecraft NMS version. | | [Score](/skills/conditions/score) | Entity | Checks a scoreboard value of the target entity |
| [ServerVersion](/skills/conditions/serverversion) | Meta | Checks if the server is running the specified minecraft version. | | [ServerIsPaper](/skills/conditions/ServerIsPaper) | Meta | Checks whether the server is running a fork of paper. |
| [ServerVersionAfterOrEqual](/skills/conditions/ServerVersionAfterOrEqual) | Meta | Checks whether the server is after or equal to a specific version | | [ServerNmsVersion](/skills/conditions/servernmsversion) | Meta | Checks if the server is running the specified minecraft NMS version. |
| [ServerVersionBefore](/skills/conditions/ServerVersionBefore) | Meta | Checks whether the server is before a specific version | | [ServerVersion](/skills/conditions/serverversion) | Meta | Checks if the server is running the specified minecraft version. |
| [Size](/skills/conditions/Size) | Entity | Checks the size of the target entity | | [ServerVersionAfterOrEqual](/skills/conditions/ServerVersionAfterOrEqual) | Meta | Checks whether the server is after or equal to a specific version |
| [SkillOnCooldown](/skills/conditions/skilloncooldown) | Entity | Checks if the given skill is in cooldown for the target | | [ServerVersionBefore](/skills/conditions/ServerVersionBefore) | Meta | Checks whether the server is before a specific version |
| [SpawnReason](/skills/conditions/SpawnReason) | Entity | Checks against the spawn reason of the target | | [Size](/skills/conditions/Size) | Entity | Checks the size of the target entity |
| [Sprinting](/skills/conditions/Sprinting) | Entity | Checks if the target **Player** is sprinting | | [SkillOnCooldown](/skills/conditions/skilloncooldown) | Entity | Checks if the given skill is in cooldown for the target |
| [Stance](/skills/conditions/stance) | Entity | Checks the stance of the target mob | | [SpawnReason](/skills/conditions/SpawnReason) | Entity | Checks against the spawn reason of the target |
| [StringEmpty](/skills/conditions/StringEmpty) | Meta | Checks if the provided string is empty | | [Sprinting](/skills/conditions/Sprinting) | Entity | Checks if the target **Player** is sprinting |
| [StringNotEmpty](/skills/conditions/StringNotEmpty) | Meta | Checks if the provided string is not empty | | [Stance](/skills/conditions/stance) | Entity | Checks the stance of the target mob |
| [StringEquals](/skills/conditions/stringequals) | Meta | Checks if value1 equals value2. Both values can use variables and placeholders. | | [StringEmpty](/skills/conditions/StringEmpty) | Meta | Checks if the provided string is empty |
| [Structure](/skills/conditions/structure) | Location | Matches if the target location is inside of a structure | | [StringNotEmpty](/skills/conditions/StringNotEmpty) | Meta | Checks if the provided string is not empty |
| [Sunny](/skills/conditions/sunny) | Location | If the weather is sunny in the target world. | | [StringEquals](/skills/conditions/stringequals) | Meta | Checks if value1 equals value2. Both values can use variables and placeholders. |
| [TargetInLineOfSight](/skills/conditions/targetinlineofsight) | Entity | Tests if the target has line of sight to their target | | [Structure](/skills/conditions/structure) | Location | Matches if the target location is inside of a structure |
| [TargetNotInLineOfSight](/skills/conditions/targetnotinlineofsight) | Entity | Tests if the target doesn't have line of sight to their target | | [Sunny](/skills/conditions/sunny) | Location | If the weather is sunny in the target world. |
| [TargetWithin](/skills/conditions/targetwithin) | Entity | Tests if the target's target is within a certain distance | | [TargetInLineOfSight](/skills/conditions/targetinlineofsight) | Entity | Tests if the target has line of sight to their target |
| [TargetNotWithin](/skills/conditions/targetnotwithin) | Entity | Tests if the target's target is not within a certain distance | | [TargetNotInLineOfSight](/skills/conditions/targetnotinlineofsight) | Entity | Tests if the target doesn't have line of sight to their target |
| [Targets](/skills/conditions/targets) | Meta | Tests if the number of inherited targets from the parent skilltree matches the given range. | | [TargetWithin](/skills/conditions/targetwithin) | Entity | Tests if the target's target is within a certain distance |
| [TemplateType](/skills/conditions/TemplateType) | Entity | Checks if the target mob extends the specified Template | | [TargetNotWithin](/skills/conditions/targetnotwithin) | Entity | Tests if the target's target is not within a certain distance |
| [Thundering](/skills/conditions/thundering) | Location | If it's thundering in the target world | | [Targets](/skills/conditions/targets) | Meta | Tests if the number of inherited targets from the parent skilltree matches the given range. |
| [TriggerBlockType](/skills/conditions/TriggerBlockType) | Meta | Checks against the material type that triggered the skill | | [TemplateType](/skills/conditions/TemplateType) | Entity | Checks if the target mob extends the specified Template |
| [TriggerItemType](/skills/conditions/TriggerItemType) | Meta | Checks against the item material type that triggered the skill | | [Thundering](/skills/conditions/thundering) | Location | If it's thundering in the target world |
| [VariableContains](/skills/conditions/VariableContains) | Meta | Checks if the given variable contains a certain value | | [TriggerBlockType](/skills/conditions/TriggerBlockType) | Meta | Checks against the material type that triggered the skill |
| [VariableEquals](/skills/conditions/variableequals) | Meta | Checks if the given variable has a particular value. | | [TriggerItemType](/skills/conditions/TriggerItemType) | Meta | Checks against the item material type that triggered the skill |
| [VariableInRange](/skills/conditions/variableinrange) | Meta | Checks if the given numeric variable is within a certain range. | | [VariableContains](/skills/conditions/VariableContains) | Meta | Checks if the given variable contains a certain value |
| [VariableIsSet](/skills/conditions/variableisset) | Meta | Checks if the given variable is set. | | [VariableEquals](/skills/conditions/variableequals) | Meta | Checks if the given variable has a particular value. |
| [VehicleIsDead](/skills/conditions/vehicleisdead) | Entity | Checks if the casters mounted vehicle is dead. | | [VariableInRange](/skills/conditions/variableinrange) | Meta | Checks if the given numeric variable is within a certain range. |
| [Velocity](/skills/conditions/Velocity) | Entity | Checks the velocity of the target entity against a range. | | [VariableIsSet](/skills/conditions/variableisset) | Meta | Checks if the given variable is set. |
| [Wearing](/skills/conditions/wearing) | Entity | Tests what the target entity has equipped. | | [VehicleIsDead](/skills/conditions/vehicleisdead) | Entity | Checks if the casters mounted vehicle is dead. |
| [World](/skills/conditions/world) | Location | Checks the name of the target world. | | [Velocity](/skills/conditions/Velocity) | Entity | Checks the velocity of the target entity against a range. |
| [WorldTime](/skills/conditions/worldtime) | Location | Matches a range against the target location's world's time. | | [Wearing](/skills/conditions/wearing) | Entity | Tests what the target entity has equipped. |
| [Yaw](/skills/conditions/yaw) | Entity | Checks the yaw of the target entity against a range. | | [World](/skills/conditions/world) | Location | Checks the name of the target world. |
| [xDiff](/skills/conditions/xdiff) | Entity | Checks the difference in X between the targeted entity and the caster. | | [WorldTime](/skills/conditions/worldtime) | Location | Matches a range against the target location's world's time. |
| [yDiff](/skills/conditions/ydiff) | Entity | Checks the difference in Y between the targeted entity and the caster. | | [Yaw](/skills/conditions/yaw) | Entity | Checks the yaw of the target entity against a range. |
| [zDiff](/skills/conditions/zdiff) | Entity | Checks the difference in Z between the targeted entity and the caster. | | [xDiff](/skills/conditions/xdiff) | Entity | Checks the difference in X between the targeted entity and the caster. |
| [yDiff](/skills/conditions/ydiff) | Entity | Checks the difference in Y between the targeted entity and the caster. |
More Examples | [zDiff](/skills/conditions/zdiff) | Entity | Checks the difference in Z between the targeted entity and the caster. |
-------------
```yaml More Examples
FlameShock: -------------
Cooldown: 1 ```yaml
Conditions: FlameShock:
- targetwithin 15 Cooldown: 1
- targetinlineofsight true Conditions:
- incombat - targetwithin 15
- stance aggressive - targetinlineofsight true
- onblock GRASS - incombat
- offgcd - stance aggressive
Skills: - onblock GRASS
- gcd{t=60} - offgcd
- message{m="<mob.name> begins casting a spell"} Skills:
- potion{t=SLOW;d=60;l=7} - gcd{t=60}
- delay 60 - message{m="<mob.name> begins casting a spell"}
- message{m="<target.name> &ecombusts"} - potion{t=SLOW;d=60;l=7}
- effect:particles{p=flame;a=20;hS=3;vS=1;s=0;y=2} - delay 60
- potion{t=HARM;d=1;l=1} - message{m="<target.name> &ecombusts"}
``` - effect:particles{p=flame;a=20;hS=3;vS=1;s=0;y=2}
- potion{t=HARM;d=1;l=1}
```
[1] Not all conditions may be applicable everywhere. [1] Not all conditions may be applicable everywhere.
\ No newline at end of file