mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
added arcanic.yml
added armor to targets
This commit is contained in:
parent
0c488c7af9
commit
d9468a42b5
26
eco-core/core-plugin/src/main/resources/enchants/arcanic.yml
Normal file
26
eco-core/core-plugin/src/main/resources/enchants/arcanic.yml
Normal file
@ -0,0 +1,26 @@
|
||||
display-name: Arcanic
|
||||
description: "%placeholder%% chance to ignore potion damage"
|
||||
placeholder: '%level% * 8'
|
||||
type: Normal
|
||||
|
||||
targets:
|
||||
- armor
|
||||
conflicts: []
|
||||
rarity: epic
|
||||
max-level: 6
|
||||
|
||||
tradeable: true
|
||||
discoverable: true
|
||||
enchantable: true
|
||||
|
||||
effects:
|
||||
- id: cancel_event
|
||||
args:
|
||||
chance: "%level% * 8"
|
||||
triggers:
|
||||
- take_damage
|
||||
filters:
|
||||
damageCause:
|
||||
- poison
|
||||
- magic
|
||||
conditions: []
|
@ -116,6 +116,36 @@ targets:
|
||||
- "*diamond_boots"
|
||||
- "*netherite_boots"
|
||||
|
||||
- id: armor
|
||||
display-name: "Armor"
|
||||
slot: armor
|
||||
items:
|
||||
- "*leather_boots"
|
||||
- "*chainmail_boots"
|
||||
- "*iron_boots"
|
||||
- "*golden_boots"
|
||||
- "*diamond_boots"
|
||||
- "*netherite_boots"
|
||||
- "*leather_leggings"
|
||||
- "*chainmail_leggings"
|
||||
- "*iron_leggings"
|
||||
- "*golden_leggings"
|
||||
- "*diamond_leggings"
|
||||
- "*netherite_leggings"
|
||||
- "*turtle_helmet"
|
||||
- "*leather_helmet"
|
||||
- "*chainmail_helmet"
|
||||
- "*iron_helmet"
|
||||
- "*golden_helmet"
|
||||
- "*diamond_helmet"
|
||||
- "*netherite_helmet"
|
||||
- "*leather_chestplate"
|
||||
- "*chainmail_chestplate"
|
||||
- "*iron_chestplate"
|
||||
- "*golden_chestplate"
|
||||
- "*diamond_chestplate"
|
||||
- "*netherite_chestplate"
|
||||
|
||||
- id: trident
|
||||
display-name: "Tridents"
|
||||
slot: hands
|
||||
|
Loading…
Reference in New Issue
Block a user