Reduce frequency of damage dealt by the corruption status effect

This commit is contained in:
Sollace 2022-10-17 18:01:28 +02:00
parent 20607d5755
commit 184a455c30

View file

@ -66,7 +66,7 @@ public class CorruptInfluenceStatusEffect extends StatusEffect {
if (!mob.isSilent()) { if (!mob.isSilent()) {
mob.world.syncWorldEvent((PlayerEntity)null, WorldEvents.ZOMBIE_INFECTS_VILLAGER, mob.getBlockPos(), 0); mob.world.syncWorldEvent((PlayerEntity)null, WorldEvents.ZOMBIE_INFECTS_VILLAGER, mob.getBlockPos(), 0);
} }
} else if (entity.age % 20 == 0) { } else if (entity.age % 2000 == 0) {
entity.damage(MagicalDamageSource.ALICORN_AMULET, 2); entity.damage(MagicalDamageSource.ALICORN_AMULET, 2);
} }