diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Succession.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Succession.java index e6323259..d7e8e96b 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Succession.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Succession.java @@ -40,7 +40,7 @@ public class Succession extends EcoEnchant { if (this.getConfig().getBool(EcoEnchants.CONFIG_LOCATION + "per-arrow-damage") && shooter instanceof Player) { DurabilityUtils.damageItem((Player) shooter, ((Player) shooter).getInventory().getItemInMainHand(), 1); } - }, i * 2L); + }, (long) i * this.getConfig().getInt(EcoEnchants.CONFIG_LOCATION + "delay-between-arrows")); } } } diff --git a/eco-core/core-plugin/src/main/resources/enchants/normal/succession.yml b/eco-core/core-plugin/src/main/resources/enchants/normal/succession.yml index 4535202d..0f6269c6 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/normal/succession.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/normal/succession.yml @@ -13,19 +13,21 @@ obtaining: rarity: legendary general-config: - flags: [] + flags: [ ] targets: - bow grindstoneable: true disabled-in-worlds: [ ] requirements: - list: [] - not-met-lore: [] + list: [ ] + not-met-lore: [ ] conflicts: - tripleshot - pentashot - buckshot + maximum-level: 4 config: extra-arrows-per-level: 1 - per-arrow-damage: true #If set to false, then it will only take 1 durability \ No newline at end of file + per-arrow-damage: true # If set to false, then it will only take 1 durability + delay-between-arrows: 4 # Tick delay between each subsequent arrow \ No newline at end of file