|
|
|
## Description
|
|
|
|
This enchantment can be applied to an axe. It gives a chance for the targets head to drop on death with a higher chance per enchantment level. It also displays some red particles around the targets neck whenever you attack them.
|
|
|
|
|
|
|
|
`Level 1` - 40% chance\
|
|
|
|
`Level 2` - 70% chance\
|
|
|
|
`Level 3` - 100% chance
|
|
|
|
|
|
|
|
## Enchantment File
|
|
|
|
Place this in a file in your /plugins/MythicEnchants/CustomEnchantments
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
DECAPITATE:
|
|
|
|
Display: '&7Decapitate'
|
|
|
|
MinLevel: 1
|
|
|
|
MaxLevel: 2
|
|
|
|
ItemType: TOOL
|
|
|
|
Rarity: COMMON
|
|
|
|
Options:
|
|
|
|
Cursed: FALSE
|
|
|
|
Treasure: FALSE
|
|
|
|
ShowInLore: FALSE
|
|
|
|
LevelAsPower: FALSE
|
|
|
|
EnchantableItems:
|
|
|
|
- NETHERITE_AXE
|
|
|
|
- DIAMOND_AXE
|
|
|
|
- IRON_AXE
|
|
|
|
- GOLDEN_AXE
|
|
|
|
- STONE_AXE
|
|
|
|
- WOODEN_AXE
|
|
|
|
Skills:
|
|
|
|
- effect:particles{p=reddust;color=#FE2727;amount=30;hS=0.3;y=1.5} @target ~onAttack
|
|
|
|
- decapitate @target ~onPlayerKill 0.4 ?enchantlevel{level=1}
|
|
|
|
- decapitate @target ~onPlayerKill 0.7 ?enchantlevel{level=2}
|
|
|
|
- decapitate @target ~onPlayerKill 1 ?enchantlevel{level=3}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |