diff --git a/eco-core/core-plugin/src/main/resources/enchants/blackout.yml b/eco-core/core-plugin/src/main/resources/enchants/blackout.yml index 5ae9985e..28316d6a 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/blackout.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/blackout.yml @@ -22,6 +22,7 @@ effects: level: 1 duration: "80 + ceil(%level% / 2) * 20" apply-to-player: false + chance: "6 + %level%" triggers: - melee_attack diff --git a/eco-core/core-plugin/src/main/resources/enchants/ecopets/petkeeper.yml b/eco-core/core-plugin/src/main/resources/enchants/ecopets/petkeeper.yml new file mode 100644 index 00000000..06c6c1f2 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/ecopets/petkeeper.yml @@ -0,0 +1,24 @@ +display-name: "Petkeeper" +description: "Gives a &a%placeholder%%&r boost to pet experience" +placeholder: "%level%" +type: normal + +targets: + - armor +conflicts: [ ] +rarity: epic +max-level: 4 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: pet_xp_multiplier + args: + multiplier: "1 + 0.01 * %level%" + +conditions: [ ] + +dependencies: + - EcoPets \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/enchants/ecoskills/strongarm.yml b/eco-core/core-plugin/src/main/resources/enchants/ecoskills/strongarm.yml index 748cc4ec..da792e26 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/ecoskills/strongarm.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/ecoskills/strongarm.yml @@ -1,6 +1,6 @@ display-name: "Strongarm" description: "Gives &a+%placeholder%&r %ecoskills_strength_name%" -placeholder: "20 + 10 * %level%" +placeholder: "2 + 4 * %level%" type: normal targets: diff --git a/eco-core/core-plugin/src/main/resources/enchants/foraging.yml b/eco-core/core-plugin/src/main/resources/enchants/foraging.yml new file mode 100644 index 00000000..b581a5de --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/foraging.yml @@ -0,0 +1,25 @@ +display-name: "Foraging" +description: "Gives a &a%placeholder%%&r boost to apple drops from leaves" +placeholder: "ceil(((1 / (%level% + 2)) + ((%level% + 1) / 2)) * 100 - 100)" +type: normal + +targets: + - shears +conflicts: [ ] +rarity: common +max-level: 4 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: multiply_drops + args: + on_items: + - apple + fortune: "%level%" + triggers: + - block_item_drop + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/frost.yml b/eco-core/core-plugin/src/main/resources/enchants/frost.yml new file mode 100644 index 00000000..52d77fd6 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/frost.yml @@ -0,0 +1,26 @@ +display-name: "Frost" +description: "Gives a &a%chance%%&r chance to make your opponent feel as if they've been frozen for &a%seconds%&r seconds" +placeholders: + chance: "3 + 2 * %level%" + seconds: "2 + %level%" +type: normal + +targets: + - bow +conflicts: [ ] +rarity: legendary +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: set_freeze_ticks + args: + ticks: "60 + 20 * %level%" + chance: "3 + 2 * %level%" + triggers: + - bow_attack + +conditions: [ ] diff --git a/eco-core/core-plugin/src/main/resources/enchants/sparks.yml b/eco-core/core-plugin/src/main/resources/enchants/sparks.yml index ab09e3f1..e8c6d1d7 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/sparks.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/sparks.yml @@ -16,30 +16,32 @@ discoverable: true enchantable: true effects: - - id: smite + - effects: + - id: smite + args: + damage: "1 + 1 * %level%" + silent: true + + - id: particle_animation + args: + particle: electric_spark + particle-amount: 10 + animation: ground_spiral + tick-multiplier: 1 + entity: victim + use-eye-location: false + particle_args: + scalar: 5.5 + distance-scalar: 0.3 + duration: 25 + mutators: + - id: location_to_victim + args: chance: "25 + 5 * %level%" - damage: "1 + 1 * %level%" - silent: true triggers: - catch_entity - - id: particle_animation - args: - particle: electric_spark - particle-amount: 10 - animation: ground_spiral - tick-multiplier: 1 - entity: victim - use-eye-location: false - particle_args: - scalar: 5.5 - distance-scalar: 0.3 - duration: 25 - triggers: - - catch_entity - mutators: - - id: location_to_victim conditions: - id: is_storm