Updated succession
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user