EpicEnchants/src/main/resources/enchants/ultimate/FoodSteal.yml

32 lines
794 B
YAML
Raw Normal View History

2019-08-07 02:06:33 +02:00
author: SuchLow
2019-08-07 00:55:36 +02:00
# The enchant identifier must be unique.
identifier: FoodSteal
# The max level for this enchant.
max-level: 5
# The group of this enchant. Configure the groups in the groups.yml file.
group: ULTIMATE
# How the enchant should be formatted on the enchanted item.
applied-format: "&aFoodSteal {level}"
# Description
description:
- "Chance to steal life from your opponent."
# What items this enchant can be applied to.
item-whitelist:
- "SWORDS"
2019-08-07 03:11:25 +02:00
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
effects:
STEAL_FOOD:
# The trigger that will fire this effect
trigger: ATTACK_PLAYER_MELEE
# How much food does it should steal
amount: 3
# Chance that this effect wil fire.
2021-07-10 23:41:20 +02:00
chance: "5*{level}"