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

34 lines
815 B
YAML

author: Songoda
# The enchant identifier must be unique.
identifier: Enlightened
# The max level for this enchant.
max-level: 3
# 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: "&bEnlightened {level}"
# Description
description:
- "Chance to heal while damaged."
# What items this enchant can be applied to.
item-whitelist:
- "ARMOR"
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
effects:
MODIFY_HEALTH:
# The trigger that will fire this effect
trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_MOB_MELEE"
# How much life does it should add
amount: "+1"
# Chances for the event to proceed
chance: "10*{level}"