2021-07-10 23:41:20 +02:00
|
|
|
author: Songoda
|
2019-08-07 00:55:36 +02:00
|
|
|
|
|
|
|
# The enchant identifier must be unique.
|
2019-08-05 04:24:48 +02:00
|
|
|
identifier: LifeSteal
|
|
|
|
|
|
|
|
# The max level for this enchant.
|
|
|
|
max-level: 5
|
|
|
|
|
|
|
|
# The group of this enchant. Configure the groups in the groups.yml file.
|
|
|
|
group: LEGENDARY
|
|
|
|
|
2020-03-21 18:23:00 +01:00
|
|
|
# How the enchant should be formatted on the enchanted item.
|
|
|
|
applied-format: "&bLifeSteal {level}"
|
|
|
|
|
2019-08-06 02:06:08 +02:00
|
|
|
# Description
|
2019-08-05 04:24:48 +02:00
|
|
|
description:
|
|
|
|
- "Chance to steal life from your opponent."
|
|
|
|
|
|
|
|
# What items this enchant can be applied to.
|
|
|
|
item-whitelist:
|
|
|
|
- "SWORDS"
|
|
|
|
|
2021-07-10 23:41:42 +02:00
|
|
|
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
|
2019-08-05 04:24:48 +02:00
|
|
|
effects:
|
|
|
|
STEAL_HEALTH:
|
|
|
|
# The trigger that will fire this effect
|
|
|
|
trigger: ATTACK_PLAYER_MELEE
|
2021-07-10 23:41:20 +02:00
|
|
|
|
2019-08-05 04:24:48 +02:00
|
|
|
# How much life does it should steal
|
|
|
|
amount: 1
|
2021-07-10 23:41:20 +02:00
|
|
|
|
2019-08-05 04:24:48 +02:00
|
|
|
# Chance that this effect wil fire.
|
2021-07-10 23:41:20 +02:00
|
|
|
chance: "5*{level}"
|