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

46 lines
1003 B
YAML
Raw Normal View History

2021-07-10 23:41:20 +02:00
author: Auora
2021-07-10 23:41:20 +02:00
# The enchant identifier must be unique.
identifier: Shocky
2021-07-10 23:41:20 +02:00
# The max level for this enchant.
max-level: 5
# The group of this enchant. Configure the groups in the groups.yml file.
group: ELITE
2021-07-10 23:41:20 +02:00
book-item:
material: BOOK
display-name: "&b&lShocky {level}"
2021-07-10 23:41:20 +02:00
# The lore on the enchantments books.
lore:
- "&7Drag on to enchant"
- "&a{success_rate}% Success Rate"
- "&c{destroy_rate}% Destroy Rate"
2021-07-10 23:41:20 +02:00
# How the enchant should be formatted on the enchanted item.
applied-format: "&bShocky {level}"
2021-07-10 23:41:20 +02:00
# Description
description:
- "A chance of forming an explosion while mining"
2021-07-10 23:41:20 +02:00
# What items this enchant can be applied to.
item-whitelist:
- "PICKAXE"
2021-07-10 23:41:20 +02:00
# For a full list of effects, please visit: https://docs.songoda.com/epic-series/epicenchants/tutorials
effects:
SPAWN_TNT:
# The trigger that will fire this effect.
trigger: BLOCK_BREAK
2021-07-10 23:41:20 +02:00
fuse: 0
amount: "{random(low=0, up={level})}"
# Chance of the effect firing.
2021-07-10 23:41:20 +02:00
chance: "5 * {level}"