diff --git a/eco-core/core-plugin/src/main/resources/enchants/finishing.yml b/eco-core/core-plugin/src/main/resources/enchants/finishing.yml new file mode 100644 index 00000000..455957a7 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/finishing.yml @@ -0,0 +1,24 @@ +display-name: "Finishing" +description: "Increases damage dealt by &a%placeholder%%&r for each percent of health missing on your opponent" +placeholder: "0.2 * %level%" +type: normal + +targets: + - sword + - axe +conflicts: [ ] +rarity: uncommon +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: "1 + ((1 - %victim_health% / %victim_max_health%) * 100 * 0.002 * %level%)" + triggers: + - melee_attack + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/streamlining.yml b/eco-core/core-plugin/src/main/resources/enchants/streamlining.yml index ca160375..036c8707 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/streamlining.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/streamlining.yml @@ -1,7 +1,7 @@ display-name: "Streamlining" description: "Gives a &a%placeholder%%&r boost to movement speed" -placeholder: "%level% * 20" -type: special +placeholder: "%level% * 5" +type: normal targets: - boots @@ -16,6 +16,6 @@ enchantable: true effects: - id: movement_speed_multiplier args: - multiplier: "1 + %level% * 0.2" + multiplier: "1 + %level% * 0.05" conditions: [ ]