Update Conditions authored by Taiyou06's avatar Taiyou06
...@@ -5,11 +5,34 @@ MythicRPG supports all MythicMobs base conditions. ...@@ -5,11 +5,34 @@ MythicRPG supports all MythicMobs base conditions.
# Conditions # Conditions
These conditions are added by MythicRPG, and are meant to be used within the features that MythicRPG implements or to check against them from other Mythic plugins. These conditions are added by MythicRPG, and are meant to be used within the features that MythicRPG implements or to check against them from other Mythic plugins.
## Archetypes
| Condition | Type | Description | | Condition | Type | Description |
|--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------| |--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------|
| [Archetype](/Skills/Conditions/Archetype) | Entity | Matches the player's current archetype | | [Archetype](/Skills/Conditions/Archetype) | Entity | Matches the player's current archetype |
| [ArchetypeLevel](/Skills/Conditions/ArchetypeLevel) | Entity | Matches the player's current archetype level | | [ArchetypeLevel](/Skills/Conditions/ArchetypeLevel) | Entity | Matches the player's current archetype level |
| [HasArchetypesInCategory](/Skills/Conditions/HasArchetypesInCategory) | Entity | Matches if the player has a certain number of archetypes in a category | | [HasArchetypesInCategory](/Skills/Conditions/HasArchetypesInCategory) | Entity | Matches if the player has a certain number of archetypes in a category |
| [HasLearnedSpell](/Skills/Conditions/HasLearnedSpell) | Entity | Whether the target player has learned the given spell | | [HasUnlockedArchetype](/Skills/Conditions/HasUnlockedArchetype) | Entity | Matches if the player has unlocked an archetype, even if it isn't currently active |
## Spells
| Condition | Type | Description |
|--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------|
| [HasLearnedSpell](/Skills/Conditions/HasLearnedSpell) | Entity | Whether the target player has learned the given spell (optionally at a given level) |
| [HasSpellBound](/Skills/Conditions/HasSpellBound) | Entity | Whether the player has the given spell bound to a hotbar slot |
| [SpellOnCooldown](/Skills/Conditions/SpellOnCooldown) | Entity | Whether the given spell is currently on cooldown for the player |
## Talents and Points
| Condition | Type | Description |
|--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------|
| [HasTalent](/Skills/Conditions/HasTalent) | Entity | Matches if the player has points invested in a talent |
| [HasPoints](/Skills/Conditions/HasPoints) | Entity | Matches the player's point balance against a ranged amount |
## Reagents
| Condition | Type | Description |
|--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------|
| [HasReagent](/Skills/Conditions/HasReagent) | Entity | Matches if the player has a certain amount of a reagent | | [HasReagent](/Skills/Conditions/HasReagent) | Entity | Matches if the player has a certain amount of a reagent |
## Casting and Profiles
| Condition | Type | Description |
|--------------------------------------------------------------------------|----------|------------------------------------------------------------------------------------------|
| [IsQuickcastingActive](/Skills/Conditions/IsQuickcastingActive) | Entity | Whether the target player is currently using a quickcasting method | | [IsQuickcastingActive](/Skills/Conditions/IsQuickcastingActive) | Entity | Whether the target player is currently using a quickcasting method |
| [ProfileSlot](/Skills/Conditions/ProfileSlot) | Entity | Matches the slot of the player's currently-active RPG profile |