made their location *clearer* authored by Lxlp's avatar Lxlp
...@@ -13,7 +13,7 @@ Table of Contents: ...@@ -13,7 +13,7 @@ Table of Contents:
# What is a Metaskill? # What is a Metaskill?
A Metaskill is, in essence, a list of mechanics to execute once the metaskill is called via a [Meta Mechanic]. A Metaskill is, in essence, a list of mechanics to execute once the metaskill is called via a [Meta Mechanic].
They are located in `../plugins/MythicMobs/Skills` inside `.yml` files. **They are located in `../plugins/MythicMobs/Skills` inside `.yml` files**, just like their mobs counterpart.
The syntax of a Metaskill is the following: The syntax of a Metaskill is the following:
```yaml ```yaml
...@@ -35,6 +35,15 @@ internal_skillname: ...@@ -35,6 +35,15 @@ internal_skillname:
- mechanic2 - mechanic2
``` ```
Once you have a metaskill configured, you can use a [Meta Mechanic], such as [Skill], to execute the Metaskill either from a mob or a metaskill:
```yaml
#MOB FILE
ExampleMob:
Type: ZOMBIE
Skills:
- skill{s=internal_skillname} @self ~onInteract
```
Please note that only the `internal_skillname` element is required. For instance, you could make a Metaskill with only skills, only a cooldown, or only some Conditions. Please note that only the `internal_skillname` element is required. For instance, you could make a Metaskill with only skills, only a cooldown, or only some Conditions.
In the following paragraphs it will be explained what every element in there does, and how to use it. In the following paragraphs it will be explained what every element in there does, and how to use it.
...@@ -164,6 +173,7 @@ The "skill parameter" system will pass __any__ options from the **skill/metaskil ...@@ -164,6 +173,7 @@ The "skill parameter" system will pass __any__ options from the **skill/metaskil
[Skills]: /Skills/Skills [Skills]: /Skills/Skills
[Meta Mechanic]: /Skills/Mechanics#advancedmeta-mechanics [Meta Mechanic]: /Skills/Mechanics#advancedmeta-mechanics
[Examples]: /examples/Common-Examples#skills [Examples]: /examples/Common-Examples#skills
[Skill]: /skills/mechanics/skill
<!-- INTERNAL SKILLNAME --> <!-- INTERNAL SKILLNAME -->
[Internal MobName]: /Mobs/Mobs#internal_name [Internal MobName]: /Mobs/Mobs#internal_name
... ...
......