EpicEnchants/src/main/resources/enchants/legendary/Drunk.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2021-07-10 23:41:20 +02:00
author: Auora
# The enchant identifier must be unique.
identifier: Drunk
2021-07-10 23:41:20 +02:00
# The max level for this enchant.
max-level: 4
2021-07-10 23:41:20 +02:00
# The group of this enchant. Configure the groups in the groups.yml file.
group: LEGENDARY
2021-07-10 23:41:20 +02:00
book-item:
material: BOOK
display-name: "&2&lDrunk {level}"
2021-07-10 23:41:20 +02:00
# The lore on the enchantments books.
lore:
- "&7Drag on to enchant"
- "&a{success_rate}% Success Rate"
- "&c{destroy_rate}% Destroy Rate"
2021-07-10 23:41:20 +02:00
# How the enchant should be formatted on the enchanted item.
applied-format: "&2Drunk {level}"
2021-07-10 23:41:20 +02:00
# Description
description:
- "A chance of making your opponent drunk!"
2021-07-10 23:41:20 +02:00
# What items this enchant can be applied to.
item-whitelist:
- "ARMOR"
2021-07-10 23:41:20 +02:00
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
effects:
POTION:
# The trigger that will fire this effect.
trigger: DEFENSE_PLAYER_MELEE,DEFENSE_PLAYER_RANGE
# Who do you want to give the effect?
who: OPPONENT
# What player should the effect be ran on: WEARER/OPPONENT.
potion-type: NAUSEA
2021-07-10 23:41:20 +02:00
amplifier: "{level}"
duration: "{level} * 3"
2021-07-10 23:41:20 +02:00
# Chance of the effect firing.
2021-07-10 23:41:20 +02:00
chance: "4 * {level}"