EpicEnchants/src/main/resources/enchants/simple/Insomnia.yml

78 lines
1.9 KiB
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: Insomnia
# The max level for this enchant.
max-level: 7
# The group of this enchant. Configure the groups in the groups.yml file.
group: SIMPLE
# How the enchant should be formatted on the enchanted item.
applied-format: "&aInsomnia {level}"
2019-08-06 02:06:08 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "A chance to give your opponent"
- "slowness, slow swinging and confusion."
# What items this enchant can be applied to.
item-whitelist:
- "SWORDS"
2019-08-05 23:48:28 +02:00
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
2019-08-05 04:24:48 +02:00
effects:
POTION-1:
# Chance that this will happen
chance: "5 * {level}"
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# 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
# What player should the effect be ran on: USER/OPPONENT.
who: OPPONENT
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Amount of EXP to add
potion-type: CONFUSION
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Duration of the Potion Effect in seconds.
duration: "3 * {level}"
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Amplifier of 0 = SPEED 1 a Amplifier of 1 = SPEED 2, etc.
amplifier: "{level}"
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Simultaneous
simultaneous:
2021-07-10 23:41:20 +02:00
POTION:
# What player should the effect be ran on: USER/OPPONENT.
who: OPPONENT
# Amount of EXP to add
potion-type: SLOW_DIGGING
# Duration of the Potion Effect in seconds.
duration: "3 * {level}"
# Chance that the Effect gets activated.
chance: "5 * {level}"
# Amplifier of 0 = SPEED 1 a Amplifier of 1 = SPEED 2, etc.
amplifier: "{level}"
POTION-1:
# What player should the effect be ran on: USER/OPPONENT.
who: OPPONENT
# Amount of EXP to add
potion-type: SLOW
# Duration of the Potion Effect in seconds.
duration: "3 * {level}"
# Chance that the Effect gets activated.
chance: "5 * {level}"
# Amplifier of 0 = SPEED 1 a Amplifier of 1 = SPEED 2, etc.
amplifier: "{level}"