From 5e09d1f8edbb8d38f407aa9283f1b7d4be6b8870 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 6 Sep 2022 15:03:49 +0100 Subject: [PATCH] Finalized goliath --- eco-core/core-plugin/src/main/resources/enchants/goliath.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/resources/enchants/goliath.yml b/eco-core/core-plugin/src/main/resources/enchants/goliath.yml index 93e82852..74757b35 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/goliath.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/goliath.yml @@ -1,5 +1,5 @@ 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" +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" @@ -18,7 +18,7 @@ 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)" + multiplier: "1 + min(max(%victim_health% / %player_health% - 1, 0) * (0.5 + %level% * 0.1), 1.6 + %level% * 0.4)" triggers: - melee_attack