Merge pull request #291 from Sedri05/master

Added 12 Enchants
This commit is contained in:
Will FP 2022-08-30 19:58:17 +01:00 committed by GitHub
commit fa3d6fc7a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 565 additions and 0 deletions

View File

@ -0,0 +1,41 @@
display-name: Abattoir
description: Tridents deal %placeholder%% more damage against passive mobs
placeholder: '30 * %level%)'
type: normal
targets:
- trident
conflicts:
- serrated
- bladed
- phantasm
- pacify
- arachnid
- impaling
rarity: common
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.3 * %level%
triggers:
- trident_attack
filters:
entities:
- cow
- sheep
- pig
- horse
- parrot
- cat
- ocelots
- fox
- villager
- axolotl
- chicken
conditions: []

View File

@ -0,0 +1,24 @@
display-name: Abrasion
description: Damages your opponents armor by %placeholder%.
placeholder: '%level%'
type: Normal
targets:
- sword
- axe
conflicts: []
rarity: legendary
max-level: 2
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_armor
args:
damage: "%level%"
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,24 @@
display-name: Aerial
description: Deal %placeholder%% more arrow damage when you are in air
placeholder: '10*%level%'
type: normal
targets:
- bow
- crossbow
conflicts: []
rarity: epic
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.1 * %level%
triggers:
- bow_attack
conditions:
- id: in_air

View File

@ -0,0 +1,23 @@
display-name: Aquatic
description: Trident deals %placeholder%% additional damage when shot from water
placeholder: '5*%level%'
type: Normal
targets:
- trident
conflicts: []
rarity: rare
max-level: 8
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.05 * %level%
triggers:
- trident_attack
conditions:
- id: in_water

View File

@ -0,0 +1,32 @@
display-name: Arachnid
description: Increases damage against spiders
placeholder: '30*%level%'
type: Normal
targets:
- trident
conflicts:
- serrated
- bladed
- phantasm
- pacify
- abattoir
- impaling
rarity: common
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.3 * %level%
triggers:
- trident_attack
filters:
entities:
- spider
- cave_spider
conditions: []

View 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: []

View File

@ -0,0 +1,23 @@
display-name: Atmospheric
description: Deal %placeholder%% more trident damage when you are in air
placeholder: '10*%level%'
type: normal
targets:
- trident
conflicts: []
rarity: epic
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.1 * %level%
triggers:
- bow_attack
conditions:
- id: in_air

View File

@ -0,0 +1,22 @@
display-name: Bladed
description: Trident deals %placeholder%% additional damage
placeholder: '0.5*%level%'
type: Special
targets:
- trident
conflicts: []
rarity: veryspecial
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.5 * %level%
triggers:
- trident_attack
conditions: []

View File

@ -0,0 +1,29 @@
display-name: Blast Mining
description: "%placeholder%% chance to mine blocks in a 3x3 area"
placeholder: '20 * %level%'
type: Normal
targets:
- pickaxe
conflicts:
- drill
- vein
rarity: legendary
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: mine_radius
args:
chance: 20 * %level%
radius: 1
blacklisted_blocks: []
check_hardness: true
disable_on_sneak: true
whitelist: [ ]
triggers:
- mine_block
conditions: []

View File

@ -0,0 +1,23 @@
display-name: Bleed
description: Causes your opponent to bleed, damaging them repeatedly
placeholder: '1.5 * %level%'
type: normal
targets:
- sword
conflicts: []
rarity: legendary
max-level: 7
tradeable: true
discoverable: true
enchantable: true
effects:
- id: bleed
args:
chance: 1.5 * %level%
damage: 1
interval: 15
amount: 2 * %level%
conditions: []

View File

@ -0,0 +1,25 @@
display-name: Blind
description: "%placeholder%% chance of blinding your opponent"
placeholder: '%level%'
type: Normal
targets:
- bow
- crossbow
conflicts: []
rarity: legendary
max-level: 6
tradeable: true
discoverable: true
enchantable: true
effects:
- id: potion_effect
args:
chance: %level%
effect: blindness
level: 1
duration: 20 * %level%
apply_to_player: false
conditions: []

View File

@ -0,0 +1,25 @@
display-name: Block Breather
description: "%placeholder%% chance to ignore suffocation damage"
placeholder: '%level%*15'
type: Normal
targets:
- helmet
conflicts: []
rarity: common
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: cancel_event
args:
chance: "%level% * 15"
triggers:
- take_damage
filters:
damageCause:
- SUFFOCATION
conditions: []

View File

@ -0,0 +1,25 @@
display-name: Boss Hunter
description: Deal %placeholder%% more damage against bosses
placeholder: '10 * %level%'
type: Normal
targets:
- bow
- crossbow
conflicts: []
rarity: rare
max-level: 8
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.1 * %level%
triggers:
- bow_attack
filters:
onlyBosses: true
conditions: []

View File

@ -0,0 +1,42 @@
display-name: Butchering
description: Deal %placeholder%% more damage against passive mobs
placeholder: '25*%level%'
type: Normal
targets:
- sword
- axe
conflicts:
- sharpness
- bane_of_arthropods
- smite
- defusion
- razor
- ender_slayer
rarity: common
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.25 * %level%
triggers:
- melee_attack
filters:
entities:
- cow
- sheep
- pig
- horse
- parrot
- cat
- ocelots
- fox
- villager
- axolotl
- chicken
conditions: []

View File

@ -0,0 +1,28 @@
display-name: Carve
description: "%placeholder%% chance to heavily damage all entities around attacked entity"
placeholder: '10*%level%'
type: special
targets:
- axe
conflicts:
- cleave
rarity: special
max-level: 8
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_nearby_entities
args:
chance: "10*%level%"
damage: 2
radius: "0.5*%level%"
entities: []
damage_as_player: true
damage_self: false
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,28 @@
display-name: Cleave
description: "%placeholder%% chance to damage all entities around attacked entity"
placeholder: '5*%level%'
type: Normal
targets:
- axe
conflicts:
- carve
rarity: rare
max-level: 8
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_nearby_entities
args:
chance: "5*%level%"
damage: 2
radius: "0.25*%level%"
entities: [ ]
damage_as_player: true
damage_self: false
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,22 @@
display-name: Confusion
description: "%placeholder%% chance to shuffle your opponents hotbar"
placeholder: '2*%level%'
type: Special
targets:
- sword
conflicts: []
rarity: special
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: shuffle_hotbar
args:
chance: 2 * %level%
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,23 @@
display-name: Corrosive
description: Damages your opponents armor
placeholder: '%level%'
type: Normal
targets:
- bow
- crossbow
conflicts: []
rarity: legendary
max-level: 2
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_armor
args:
damage: "%level%"
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,23 @@
display-name: Criticals
description: Increases critical damage by %placeholder%
placeholder: '10*%level%'
type: Normal
targets:
- sword
- axe
conflicts: []
rarity: epic
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: crit_multiplier
args:
multiplier: 1 + 0.1*%level%
triggers:
- melee_attack
conditions: []

View File

@ -0,0 +1,27 @@
display-name: Cubism
description: Deal %placeholder%% more against slimes and magma cubes
placeholder: '5*%level%'
type: Normal
targets:
- sword
- axe
conflicts: []
rarity: rare
max-level: 7
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: 1 + 0.05 * %level%
triggers:
- melee_attack
filters:
entities:
- slime
- magma_cube
conditions: []

View File

@ -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