2019-08-07 00:55:36 +02:00
|
|
|
# The person who made this enchant.
|
|
|
|
Author: Songoda
|
|
|
|
|
2019-08-05 04:24:48 +02:00
|
|
|
# The enchant identifier must be unique.
|
|
|
|
identifier: Lightning
|
|
|
|
|
|
|
|
# The max level for this enchant.
|
|
|
|
max-level: 3
|
|
|
|
|
|
|
|
# The group of this enchant. Configure the groups in the groups.yml file.
|
|
|
|
group: SIMPLE
|
|
|
|
|
2019-08-05 21:28:32 +02:00
|
|
|
# Description
|
2019-08-05 04:24:48 +02:00
|
|
|
description:
|
|
|
|
- "A chance to strike lightning"
|
|
|
|
- "at your opponents location."
|
|
|
|
|
|
|
|
# What items this enchant can be applied to.
|
|
|
|
item-whitelist:
|
|
|
|
- "BOWS"
|
|
|
|
|
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:
|
|
|
|
LIGHTNING:
|
|
|
|
# Chance that this will happen
|
|
|
|
chance: "5 * {level}"
|
|
|
|
# The trigger that will fire this effect
|
2019-08-05 21:28:32 +02:00
|
|
|
trigger: ATTACK_PLAYER_RANGE
|
2019-08-05 04:24:48 +02:00
|
|
|
# What player should the effect be ran on: USER/OPPONENT.
|
|
|
|
who: OPPONENT
|