mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Added stamina and transmission
This commit is contained in:
parent
8ac581a2c6
commit
370220853c
22
eco-core/core-plugin/src/main/resources/enchants/stamina.yml
Normal file
22
eco-core/core-plugin/src/main/resources/enchants/stamina.yml
Normal file
@ -0,0 +1,22 @@
|
||||
display-name: "Stamina"
|
||||
description: "Decreases sprinting hunger loss by &a%placeholder%%"
|
||||
placeholder: "%level% * 20"
|
||||
type: normal
|
||||
|
||||
targets:
|
||||
- chestplate
|
||||
conflicts: [ ]
|
||||
rarity: rare
|
||||
max-level: 4
|
||||
|
||||
tradeable: true
|
||||
discoverable: true
|
||||
enchantable: true
|
||||
|
||||
effects:
|
||||
- id: hunger_multiplier
|
||||
args:
|
||||
multiplier: "1 - %level% * 0.2"
|
||||
|
||||
conditions:
|
||||
- id: is_sprinting
|
@ -0,0 +1,34 @@
|
||||
display-name: "Transmission"
|
||||
description: "Teleports you &a%placeholder%&8 blocks forward"
|
||||
placeholder: "3 + %level% * 2"
|
||||
type: spell
|
||||
|
||||
targets:
|
||||
- sword
|
||||
conflicts: [ ]
|
||||
rarity: legendary
|
||||
max-level: 2
|
||||
|
||||
tradeable: true
|
||||
discoverable: true
|
||||
enchantable: true
|
||||
|
||||
effects:
|
||||
- effects:
|
||||
- id: transmission
|
||||
args:
|
||||
distance: "3 + %level% * 2"
|
||||
|
||||
- id: play_sound
|
||||
args:
|
||||
sound: entity_enderman_teleport
|
||||
pitch: 1.2
|
||||
volume: 1
|
||||
|
||||
args:
|
||||
cooldown: 90
|
||||
send_cooldown_message: true
|
||||
triggers:
|
||||
- alt_click
|
||||
|
||||
conditions: [ ]
|
Loading…
Reference in New Issue
Block a user