Updated succession

This commit is contained in:
Auxilor
2022-03-07 12:38:32 +00:00
parent dd8a86538b
commit f5ab4cbb3d
2 changed files with 7 additions and 5 deletions

View File

@@ -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"));
}
}
}

View File

@@ -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
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