diff --git a/eco-core/core-plugin/src/main/resources/enchants/goliath.yml b/eco-core/core-plugin/src/main/resources/enchants/goliath.yml new file mode 100644 index 00000000..93e82852 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/goliath.yml @@ -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: [ ]