Files
test-server-config-minecicd/plugins/EcoEnchants/enchants/goliath.yml
2024-10-05 22:23:51 -04:00

26 lines
565 B
YAML

display-name: "Goliath"
description: "Deal &a%damage%x &rmore damage for each times your opponent has more health 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) * (0.5 + %level% * 0.1), 1.6 + %level% * 0.4)"
triggers:
- melee_attack
conditions: [ ]