10% was a little strong, 5% seems better
@@ -14,8 +14,8 @@ public class NecroticModifier extends Modifier {
@Override
public int afterLivingHit(IModifierToolStack tool, int level, LivingEntity attacker, LivingEntity target, float damageDealt, boolean isCritical, float cooldown) {
if (cooldown > 0.9 && damageDealt > 0) {
- // heals between 0 and (level) * 10% of damage dealt
- float heal = attacker.getRNG().nextFloat() * damageDealt * level * 0.1f;
+ // heals between 0 and (level) * 5% of damage dealt
+ float heal = attacker.getRNG().nextFloat() * damageDealt * level * 0.05f;
attacker.heal(heal);
if (heal > 2) {
attacker.world.playSound(null, attacker.getPosX(), attacker.getPosY(), attacker.getPosZ(), SoundEvents.ENTITY_ZOMBIE_INFECT, SoundCategory.PLAYERS, 1.0f, 1.0f);
