EpicEnchants/src/main/resources/enchants/ultimate/Dodge.yml

31 lines
827 B
YAML
Raw Normal View History

2019-08-08 02:57:50 +02:00
author: "Songoda"
2019-08-07 00:55:36 +02:00
# The enchant identifier must be unique.
2019-08-05 04:24:48 +02:00
identifier: Dodge
# The max level for this enchant.
max-level: 5
# The group of this enchant. Configure the groups in the groups.yml file.
group: ULTIMATE
# How the enchant should be formatted on the enchanted item.
applied-format: "&dDodge {level}"
2019-08-06 02:06:08 +02:00
# Description
2019-08-05 04:24:48 +02:00
description:
- "Chance to dodge melee attacks,"
- "increased chance when sneaking."
# What items this enchant can be applied to.
item-whitelist:
- "ARMOR"
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:
CANCEL_EVENT:
# The trigger that will fire this effect
trigger: "DEFENSE_PLAYER_MELEE,DEFENSE_MOB_MELEE"
# Chance that this effect wil fire.
2019-08-06 02:06:08 +02:00
chance: "{user_is_sneaking} ? (8 * {level}) : (4 * {level})"