EpicEnchants/src/main/resources/enchants/unique/Decapitation.yml

33 lines
844 B
YAML
Raw Normal View History

2019-08-07 02:06:33 +02:00
author: Hipopotofobia
2019-08-07 00:55:36 +02:00
# The enchant identifier must be unique.
identifier: Decapitation
2021-07-10 23:41:20 +02:00
2019-08-07 00:55:36 +02:00
# The max level for this enchant.
max-level: 3
2021-07-10 23:41:20 +02:00
2019-08-07 00:55:36 +02:00
# The group of this enchant. Configure the groups in the groups.yml file.
group: UNIQUE
2021-07-10 23:41:20 +02:00
# How the enchant should be formatted on the enchanted item.
applied-format: "&eDecapitation {level}"
2021-07-10 23:41:20 +02:00
2019-08-07 00:55:36 +02:00
# Description
description:
- "Decapitate your victim and"
- "keep their head as a trophy!"
2021-07-10 23:41:20 +02:00
2019-08-07 00:55:36 +02:00
# What items this enchant can be applied to.
item-whitelist:
- "AXES"
2021-07-10 23:41:20 +02:00
2019-08-07 00:55:36 +02:00
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
effects:
DROP_HEAD:
# Chance that this will happen
chance: "5 * {level}"
# The trigger that will fire this effect
trigger: ATTACK_PLAYER_MELEE
# What player should the effect be ran on: USER/OPPONENT.
2021-07-10 23:41:20 +02:00
who: OPPONENT