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

38 lines
950 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.
2019-08-05 22:49:55 +02:00
identifier: RocketEscape
2019-08-05 04:24:48 +02:00
# 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: "&9RocketEscape {level}"
2019-08-06 02:06:08 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "Blast off into the air at low HP."
# What items this enchant can be applied to.
item-whitelist:
- "BOOTS"
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:
THROW:
# The trigger that will fire this effect.
trigger: "DEFENSE_PLAYER_MELEE, DEFENSE_PLAYER_RANGE"
2019-08-05 23:34:03 +02:00
# In which
relative-to: USER
2019-08-05 04:24:48 +02:00
# The direction of the throw.
direction: UP
# Magnitude of the throw.
magnitude: 3
# Chance of the effect firing.
chance: "{level} * 10"
# Only fire at low HP
condition: "{user_health} < 5"