Added blackout, brightness, shulker harvest, and sparks

This commit is contained in:
Auxilor 2022-10-04 13:04:15 +01:00
parent c5cea858d2
commit b9e4eddd90
6 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,28 @@
display-name: "Blackout"
description: "Gives a &a%chance%%&r chance to give your opponent darkness for &a%seconds%&r seconds"
placeholders:
chance: "6 + %level%"
seconds: "4 + ceil(%level% / 2)"
type: normal
targets:
- sword
conflicts: [ ]
rarity: legendary
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: potion_effect
args:
effect: darkness
level: 1
duration: "80 + ceil(%level% / 2) * 20"
apply-to-player: false
triggers:
- melee_attack
conditions: [ ]

View File

@ -0,0 +1,35 @@
display-name: "Brightness"
description: "Deal &a%placeholder%%&r more damage to the warden while in the deep dark"
placeholder: "4 * %level%"
type: common
targets:
- sword
conflicts:
- sharpness
- smite
- bane_of_arthropods
- introversion
- slaughter
rarity: legendary
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: add_damage
args:
damage: "4 * %level%"
triggers:
- melee_attack
filters:
entities:
- warden
conditions:
- id: in_biome
args:
biomes:
- deep_dark

View File

@ -10,6 +10,7 @@ conflicts:
- smite
- bane_of_arthropods
- slaughter
- brightness
rarity: common
max-level: 5

View File

@ -0,0 +1,26 @@
display-name: "Shulker Harvest"
description: "Gives a &a%placeholder%%&r boost to shulker drops"
placeholder: "((1 / (%level% + 4)) + ((%level% + 3) / 2)) * 100 - 100"
type: normal
targets:
- sword
conflicts:
- looting
rarity: epic
max-level: 3
tradeable: true
discoverable: true
enchantable: true
effects:
- id: multiply_drops
args:
on_items:
- shulker_shell
fortune: "2 + %level%"
triggers:
- entity_item_drop
conditions: [ ]

View File

@ -10,6 +10,7 @@ conflicts:
- smite
- bane_of_arthropods
- introversion
- brightness
rarity: common
max-level: 5

View File

@ -0,0 +1,46 @@
display-name: "Sparks"
description: "Hooking onto enemies during storms gives a &a%chance%%&r chance to strike lightning dealing &a%damage%&r damage"
placeholders:
damage: "1 + %level%"
chance: "25 + 5 * %level%"
type: normal
targets:
- fishing_rod
conflicts: [ ]
rarity: rare
max-level: 5
tradeable: true
discoverable: true
enchantable: true
effects:
- id: smite
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