mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-03-12 13:39:06 +01:00
parent
50c08176a0
commit
1fa2743dce
25
eco-core/core-plugin/src/main/resources/enchants/goliath.yml
Normal file
25
eco-core/core-plugin/src/main/resources/enchants/goliath.yml
Normal file
@ -0,0 +1,25 @@
|
||||
display-name: "Goliath"
|
||||
description: "Deal &a%damage%x &rmore damage for the amount of times more health your opponent has than you, up to &a%limit%x"
|
||||
placeholders:
|
||||
damage: "0.5 + %level% * 0.1"
|
||||
limit: "1.6 + %level% * 0.4"
|
||||
type: normal
|
||||
|
||||
targets:
|
||||
- sword
|
||||
conflicts: [ ]
|
||||
rarity: rare
|
||||
max-level: 6
|
||||
|
||||
tradeable: true
|
||||
discoverable: true
|
||||
enchantable: true
|
||||
|
||||
effects:
|
||||
- id: damage_multiplier
|
||||
args:
|
||||
multiplier: "1 + min(max((%victim_health% / %player_health%), 1) * (0.5 + %level% * 0.1), 1.6 + %level% * 0.4)"
|
||||
triggers:
|
||||
- melee_attack
|
||||
|
||||
conditions: [ ]
|
Loading…
Reference in New Issue
Block a user