EpicEnchants/src/main/resources/enchants/elite/Poison.yml

38 lines
971 B
YAML
Raw Normal View History

2021-07-10 23:41:20 +02:00
author: Songoda
2019-08-07 00:55:36 +02:00
2019-08-05 04:24:48 +02:00
# The enchant identifier must be unique.
identifier: Poison
# The max level for this enchant.
max-level: 3
# The group of this enchant. Configure the groups in the groups.yml file.
group: ELITE
# How the enchant should be formatted on the enchanted item.
applied-format: "&9Poison {level}"
2019-08-05 04:24:48 +02:00
# Description
description:
- "A chance of giving the poison effect."
# What items this enchant can be applied to.
item-whitelist:
- "SWORDS"
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
2019-08-05 04:24:48 +02:00
effects:
POTION:
# The trigger that will fire this effect.
trigger: ATTACK_PLAYER_MELEE
2019-08-05 23:34:03 +02:00
# What player should the effect be ran on: WEARER/OPPONENT.
who: OPPONENT
2019-08-05 04:24:48 +02:00
# The potion type.
potion-type: POISON
# The amplifier of the potion effect.
amplifier: "{level}"
# Duration of the potion effect.
duration: "{level} * 2"
# Chance of the effect firing.
2021-07-10 23:41:20 +02:00
chance: "3 * {level}"