Phage - CiscuLog/Survivor-s-Elegy GitHub Wiki

Phage is a status effect used for starting the zombifying process. Zombifying is a process that all mobs except zombies can go through. An infected mob will turn into a zombified entity after a set time of being applied the effect. If there's no zombified entity equivalent for said mob, it'll get damaged until they die.

Phage replaces the unused vanilla Unluck status effect. Drinking milk will not get rid of the Phage, and the status effect will be reapplied showing the remaining time until zombification.

Infection

When infected by the Phage, the effect duration will represent the remaining time until zombification.

There are 2 current ways of getting infected with Phage.

  • Getting hit by an Infected Zombie (50% chance). It will inflict weak phage.
  • Getting shot with a Phage Arrow. It will inflict strong phage.

Weak Phage

Any entity struck with weak phage will turn into a zombie after 20 minutes of being infected.

Strong Phage

Any entity struck with strong phage will turn into a zombie after 60 seconds of being infected.

Curing

Milk cannot be used to get rid of the Phage. Drinking milk will momentaneously clear the effect, just fot it to be reapplied shortly after. The countdown won't be affected by this either.

Players can only stop their zombification process by eating a Golden or Enchanted Golden Apple while weakened.

Zombifying differences

Players

An infected player will suffer a few changes after being zombified. Their base melee damage will be set at 2.5 and base speed reduced by 30%. The player's gamemode will automatically be set to adventure, losing all ability to place and break blocks. Staying in light levels of 15 will burn the player unless it's wearing a helmet, which will decrease in durability for as long as it stays under said conditions.

The player's max health will decrease every 1:30 minutes (by default) until it hits 8 HP (4 hearts). Zombie groans will be heard every time the decrease happens. This max health can be set to 0 in the config menu, in which case the player will die of zombification when its max HP reaches 0.

If the death is caused by the zombification, a zombie will spawn in place of the player's death. The chat will display the death message "ENTITY succumbed to the Phage" or "ENTITY succumbed to the phage whilst fighting ATTACKER".

Zombification and the zombie status can be stopped and cured by either dying or eating a golden apple while having the Weakness effect applied.

Illagers

Any zombified illager will turn into a zombie villager. Zombie villagers will keep all the relevant tags from the original villager.

Zombifiable illagers includes villagers, pillagers, vindicators, evokers and witches. A zombified illager that has no villager origins will turn into a regular villager if cured.

Piglins

Infected piglins will turn into Zombified Piglins.

Horses

Infected horses will turn into Zombie Horses. If the horse is wearing a Waxed Horse Armor while being zombified, the subsequent rotting process will be stopped.

Hoglins

Infected Hoglins turn into Zoglins.

Wolves

Infected Wolves will turn into Zombified Wolves. The owner will be kept, they won't burn on sunlight, and the only discernible change is a reskin. However, they will eventually rot and turn into Skeleton Wolves.

Allays

Infected Allays will turn into Vexes.

Rabbits

Infected Rabbits will become aggressive and turn into Killer Rabbits.

Other

Any other entity will get damaged by the Phage and die. Pets and named entities will display the death message "ENTITY succumbed to the Phage" or "ENTITY succumbed to the phage whilst fighting ATTACKER".

Configuration

Phage can be disabled on the config menu. Type /function siscu:config or /function siscu:phage to access it.

Disabling Phage will cure all zombified layers, mobs will be unable to get ill, and infected zombies will no longer spawn.