feat: Soulwalker's Ring only soulbounds an entity for 20 seconds

This commit is contained in:
WinDanesz
2022-07-08 19:20:16 +02:00
parent d23c4cba18
commit cc1c951ef8
2 changed files with 2 additions and 1 deletions
@@ -769,6 +769,7 @@ public class ItemArtefact extends Item {
&& Streams.stream(player.getHeldEquipment()).anyMatch(s -> s.getItem() instanceof ISpellCastingItem
&& ((ISpellCastingItem)s.getItem()).getCurrentSpell(s).getElement() == Element.NECROMANCY))){
event.getEntityLiving().addPotionEffect(new PotionEffect(WizardryPotions.curse_of_soulbinding, 400));
CurseOfSoulbinding.getSoulboundCreatures(WizardData.get(player)).add(event.getEntity().getUniqueID());
}
@@ -438,7 +438,7 @@ item.ebwizardry\:ring_hammer.desc=Lightning hammers can be picked up and thrown
item.ebwizardry\:ring_stormcloud.name=Lokenzen's Ring
item.ebwizardry\:ring_stormcloud.desc=Stormcloud moves towards targets and lasts longer with every strike
item.ebwizardry\:ring_soulbinding.name=Soulwalker's Ring
item.ebwizardry\:ring_soulbinding.desc=Creatures damaged by necromancy spells become soulbound to you
item.ebwizardry\:ring_soulbinding.desc=Creatures damaged by necromancy spells become soulbound to you for 20 seconds
item.ebwizardry\:ring_leeching.name=Ring of Leeching
item.ebwizardry\:ring_leeching.desc=All necromancy attacks have a 30%% chance to trigger a life drain effect
item.ebwizardry\:ring_necromancy_melee.name=Ring of Necrotic Touch