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

34 lines
851 B
YAML

author: Songoda
# The enchant identifier must be unique.
identifier: DeathBringer
# The max level for this enchant.
max-level: 1
# The group of this enchant. Configure the groups in the groups.yml file.
group: LEGENDARY
# How the enchant should be formatted on the enchanted item.
applied-format: "&bDeathBringer {level}"
# Description
description:
- "Chance to gain Strength for a short time."
# What items this enchant can be applied to.
item-whitelist:
- "AXES"
# 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: ATTACK_PLAYER_MELEE
# The potion type.
potion-type: INCREASE_DAMAGE
# The duration of the effect.
duration: "{level} * 2"
# Chance that this effect will fire.
chance: "{level} * 5"