mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Reduce frequency of damage dealt by the corruption status effect
This commit is contained in:
parent
20607d5755
commit
184a455c30
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue