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

41 lines
959 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.
identifier: Oxygenate
# The max level for this enchant.
max-level: 1
# 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: "&aOxygenate {level}"
2019-08-05 21:28:32 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "A chance to refill your oxygen"
- "levels when breaking blocks."
# What items this enchant can be applied to.
item-whitelist:
- "TOOLS"
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:
2019-08-05 21:28:32 +02:00
POTION:
2019-08-05 04:24:48 +02:00
# The trigger that will fire this effect
trigger: BLOCK_BREAK
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Potion Effect that should be applied.
potion-type: WATER_BREATHING
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Chance that this will happen
chance: "10 * {level}"
2021-07-10 23:41:20 +02:00
2019-08-05 04:24:48 +02:00
# Amount of oxygen to refill
2019-08-05 21:34:18 +02:00
amount: "{level}"
2021-07-10 23:41:20 +02:00
2019-08-05 21:34:18 +02:00
# What player should the effect be ran on: USER/OPPONENT.
2021-07-10 23:41:20 +02:00
who: USER