... | ... | @@ -5,7 +5,7 @@ MythicEnchantments allows you to create fully functional enchants using the [Myt |
|
|
Getting started creating a new enchantment in MythicEnchants is fairly straight-forward! All custom enchantments are located in the `plugins/MythicEnchants/CustomEnchantments` folder, and to add a new one you just create a new file named after your enchant (or add it to an existing file).
|
|
|
|
|
|
Inside each file, a custom enchantment can look like this:
|
|
|
```
|
|
|
```yaml
|
|
|
BURNING:
|
|
|
Display: 'Burning'
|
|
|
MinLevel: 1
|
... | ... | @@ -22,7 +22,7 @@ BURNING: |
|
|
This enchantment would set whatever you hit on fire, just like Fire Aspect! Why did we remake Fire Aspect? Nobody knows! But in this case, it will set things on fire for 100 ticks per level.
|
|
|
|
|
|
If you have Mythic Premium, you can also simplify things with math:
|
|
|
```
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- ignite{ticks="100 * <skill.var.enchant-level>"} @trigger ~onAttack
|
|
|
```
|
... | ... | @@ -38,7 +38,7 @@ You can read more about the new toys added for skills in the manual: |
|
|
* [Enchant Conditions](Skills/Conditions)
|
|
|
|
|
|
### Example with All Options
|
|
|
```
|
|
|
```yaml
|
|
|
BURNING:
|
|
|
Display: 'Burning'
|
|
|
MinLevel: 1
|
... | ... | |