mirror of
https://github.com/songoda/EpicEnchants.git
synced 2024-09-27 15:22:45 +02:00
59 lines
1.9 KiB
YAML
59 lines
1.9 KiB
YAML
|
# 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
|
||
|
|
||
|
#Description
|
||
|
description:
|
||
|
- "A chance to give your opponent"
|
||
|
- "slowness, slow swinging and confusion."
|
||
|
|
||
|
# What items this enchant can be applied to.
|
||
|
item-whitelist:
|
||
|
- "SWORDS"
|
||
|
|
||
|
# For a full list of effects, please visit: https://wiki.songoda.com/display/SON/EpicEnchants
|
||
|
effects:
|
||
|
POTION-1:
|
||
|
# Chance that this will happen
|
||
|
chance: "5 * {level}"
|
||
|
# The trigger that will fire this effect
|
||
|
trigger: ATTACK_PLAYER_MELEE
|
||
|
# What player should the effect be ran on: USER/OPPONENT.
|
||
|
who: OPPONENT
|
||
|
# Amount of EXP to add
|
||
|
potion-type: CONFUSION
|
||
|
# 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}"
|
||
|
# Simultaneous
|
||
|
simultaneous:
|
||
|
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}"
|