Added more enchantments

This commit is contained in:
Auxilor
2022-10-04 15:18:50 +01:00
parent e543d7b462
commit e4ffa40340
6 changed files with 98 additions and 20 deletions

View File

@@ -22,6 +22,7 @@ effects:
level: 1
duration: "80 + ceil(%level% / 2) * 20"
apply-to-player: false
chance: "6 + %level%"
triggers:
- melee_attack

View File

@@ -0,0 +1,24 @@
display-name: "Petkeeper"
description: "Gives a &a%placeholder%%&r boost to pet experience"
placeholder: "%level%"
type: normal
targets:
- armor
conflicts: [ ]
rarity: epic
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: pet_xp_multiplier
args:
multiplier: "1 + 0.01 * %level%"
conditions: [ ]
dependencies:
- EcoPets

View File

@@ -1,6 +1,6 @@
display-name: "Strongarm"
description: "Gives &a+%placeholder%&r %ecoskills_strength_name%"
placeholder: "20 + 10 * %level%"
placeholder: "2 + 4 * %level%"
type: normal
targets:

View File

@@ -0,0 +1,25 @@
display-name: "Foraging"
description: "Gives a &a%placeholder%%&r boost to apple drops from leaves"
placeholder: "ceil(((1 / (%level% + 2)) + ((%level% + 1) / 2)) * 100 - 100)"
type: normal
targets:
- shears
conflicts: [ ]
rarity: common
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: multiply_drops
args:
on_items:
- apple
fortune: "%level%"
triggers:
- block_item_drop
conditions: [ ]

View File

@@ -0,0 +1,26 @@
display-name: "Frost"
description: "Gives a &a%chance%%&r chance to make your opponent feel as if they've been frozen for &a%seconds%&r seconds"
placeholders:
chance: "3 + 2 * %level%"
seconds: "2 + %level%"
type: normal
targets:
- bow
conflicts: [ ]
rarity: legendary
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: set_freeze_ticks
args:
ticks: "60 + 20 * %level%"
chance: "3 + 2 * %level%"
triggers:
- bow_attack
conditions: [ ]

View File

@@ -16,30 +16,32 @@ discoverable: true
enchantable: true
effects:
- id: smite
- effects:
- id: smite
args:
damage: "1 + 1 * %level%"
silent: true
- id: particle_animation
args:
particle: electric_spark
particle-amount: 10
animation: ground_spiral
tick-multiplier: 1
entity: victim
use-eye-location: false
particle_args:
scalar: 5.5
distance-scalar: 0.3
duration: 25
mutators:
- id: location_to_victim
args:
chance: "25 + 5 * %level%"
damage: "1 + 1 * %level%"
silent: true
triggers:
- catch_entity
- id: particle_animation
args:
particle: electric_spark
particle-amount: 10
animation: ground_spiral
tick-multiplier: 1
entity: victim
use-eye-location: false
particle_args:
scalar: 5.5
distance-scalar: 0.3
duration: 25
triggers:
- catch_entity
mutators:
- id: location_to_victim
conditions:
- id: is_storm