mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +01:00
Added snipe
This commit is contained in:
parent
c5bd1d9d65
commit
f533654670
26
eco-core/core-plugin/src/main/resources/enchants/snipe.yml
Normal file
26
eco-core/core-plugin/src/main/resources/enchants/snipe.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
display-name: "Snipe"
|
||||||
|
description: "Arrows deal &a%damage%%&r more damage for each &a%blocks%&r blocks travelled"
|
||||||
|
placeholders:
|
||||||
|
damage: "1 * %level%"
|
||||||
|
blocks: "11 - ceil(%level% / 2)"
|
||||||
|
type: normal
|
||||||
|
|
||||||
|
targets:
|
||||||
|
- bow
|
||||||
|
- crossbow
|
||||||
|
conflicts: [ ]
|
||||||
|
rarity: epic
|
||||||
|
max-level: 4
|
||||||
|
|
||||||
|
tradeable: true
|
||||||
|
discoverable: true
|
||||||
|
enchantable: true
|
||||||
|
|
||||||
|
effects:
|
||||||
|
- id: damage_multiplier
|
||||||
|
args:
|
||||||
|
multiplier: "1 + (%distance% / (11 - ceil(%level / 2))) * 0.01 * %level%"
|
||||||
|
triggers:
|
||||||
|
- bow_attack
|
||||||
|
|
||||||
|
conditions: [ ]
|
Loading…
Reference in New Issue
Block a user