Added nether and end affinity

This commit is contained in:
Auxilor 2022-09-05 15:56:21 +01:00
parent d97011cc2d
commit 533c377670
3 changed files with 62 additions and 25 deletions

View File

@ -0,0 +1,31 @@
display-name: "End Affinity"
description: "Increases damage dealt in the end by &a%placeholder%%"
placeholder: "20 + %level% * 10"
type: normal
targets:
- sword
- bow
- trident
conflicts:
- nether_affinity
rarity: epic
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: "1.2 + %level% * 0.1"
triggers:
- melee_attack
- bow_attack
- trident_attack
conditions:
- id: in_world
args:
world: world_the_end

View File

@ -0,0 +1,31 @@
display-name: "Nether Affinity"
description: "Increases damage dealt in the nether by &a%placeholder%%"
placeholder: "20 + %level% * 10"
type: normal
targets:
- sword
- bow
- trident
conflicts:
- end_affinity
rarity: epic
max-level: 4
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: "1.2 + %level% * 0.1"
triggers:
- melee_attack
- bow_attack
- trident_attack
conditions:
- id: in_world
args:
world: world_nether

View File

@ -1,25 +0,0 @@
display-name: "Water Affinity"
description: "Increases damage dealt when in water by &a%placeholder%%"
placeholder: "(1.0 + (%level% * 0.02)) * 100.0"
type: normal
targets:
- sword
conflicts:
- fire_aspect
rarity: epic
max-level: 7
tradeable: true
discoverable: true
enchantable: true
effects:
- id: damage_multiplier
args:
multiplier: "1.0 + (%level% * 0.02)"
triggers:
- melee_attack
conditions:
- id: in_water