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

43 lines
1.0 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: Obliterate
# The max level for this enchant.
max-level: 3
# 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: "&aObliterate {level}"
2019-08-06 02:06:08 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "A chance to deal extreme knockback"
# What items this enchant can be applied to.
item-whitelist:
- "WEAPONS"
# For a full list of effects, please visit: https://wiki.songoda.com/Epic_Enchants#Tutorials
2019-08-05 04:24:48 +02:00
effects:
THROW:
# 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
# What direction the player should be moved in: UP/DOWN/BACKWARD/FORWARD
direction: FORWARD
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Magnitude of the throw
magnitude: "0.2 * {level}"
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# What the direction should relative to
2021-07-10 23:41:20 +02:00
relative-to: USER