Pokérus
Pokérus is a rare, helpful infection state that can appear on Pixelmon. It is tied to EV growth and can also spread after battles depending on the server's Pokérus settings. Each strain stores how long the active infected state lasts before it is shown as cured.
Quick facts
- Pokérus is currently enabled by config.
- The global appearance roll is 1 in 12,288 (0.0081%).
- The battle spread roll is 1 in 5 (20%).
- When enabled, the battle EV-yield path doubles EV yields for a Pixelmon with a saved Pokérus state.
- The visible state can be uninfected, infected by a strain, or cured from a strain.
Strains
| Strain | Displayed state | Duration seconds | Active duration | Notes |
|---|---|---|---|---|
UNINFECTED
|
Uninfected | -1 | - | Uninfected marker; no active strain duration. |
A
|
Infected: A Cured: A |
86400 | 1 day | Active until the timer reaches the listed duration, then displayed as cured. |
B
|
Infected: B Cured: B |
172800 | 2 days | Active until the timer reaches the listed duration, then displayed as cured. |
C
|
Infected: C Cured: C |
259200 | 3 days | Active until the timer reaches the listed duration, then displayed as cured. |
D
|
Infected: D Cured: D |
345600 | 4 days | Active until the timer reaches the listed duration, then displayed as cured. |
The jar's random strain picker is built from the same strain enum shown above, including UNINFECTED. A saved Pokérus state is kept separately from the displayed infected/cured text.
Configuration
Pokérus settings are read from config/pixelmon/pokerus.yml when a server config is present.
| Setting | Current value | Jar default | Meaning | Source |
|---|---|---|---|---|
| Enabled | Yes | true | Whether or not the Pokérus is enabled. This blocks the growth, the spread and the spawning of the Pokérus. | Jar default |
| Wild rate | 1 in 12,288 (0.0081%) | 12,288 | Pokérus spawn rate (1/x). (0 to disable) | Jar default |
| Healer message | Yes | true | Whether or not the player should be informed if their Pixelmon got Pokérus. | Jar default |
| Battle spread rate | 1 in 5 (20%) | 5 | Chance to spread the Pokérus to the near Pixelmon after a battle. (1/x) (-1 to disable; 0 to keep always active) | Jar default |
How it appears
Newly created wild Pixelmon can receive a Pokérus strain through the global appearance roll. The spawn system can also use Pokérus-specific rates on individual spawn entries or spawn sets.
The spawning system supports per-spawn and per-spawn-set Pokérus rates, but the loaded spawn JSON does not set either override.
EV growth
During battle EV gain, Pokérus doubles the EV yield when the feature is enabled and the battling Pixelmon has a saved Pokérus state. EV items are applied before that doubling step, so Macho Brace and power-item bonuses stack with Pokérus.
Curing
The active timer advances once per second for Pixelmon in cached player party storage. Eggs are skipped. When the timer reaches the strain duration, the state is saved as cured and a Pokérus cured event is fired.
Spread after battle
After a normal battle ends, only winning player parties are checked for spread. The spread check can try adjacent party slots and can also try the attacker after a successful attack against a target with a Pokérus state. A target is skipped if it is fainted or already has a saved Pokérus state.
Each allowed attempt uses the configured battle spread rate. A value of -1 disables this battle spread listener, 0 makes allowed attempts always succeed, and positive values work as a 1/x roll.
Healer message
If healer messages are enabled, the player is told about an unannounced Pokérus state after closing the healer screen.
| Line | Text |
|---|---|
| 1 | Your Pixelmon appear to have been infected by Pokérus, a microscopic life-form that we do not know much about just yet. |
| 2 | It spreads quickly, but does not seem to cause any harm. |
| 3 | It has, on occasion, even proven to be beneficial to a Pixelmon's growth, though infections seem to be short-lived. |
Spec keys
Pokérus can be matched or applied through the following spec keys. The value is one of the strains listed above.
| Pattern | Accepted strains |
|---|---|
pokerus:<strain>
|
UNINFECTED, A, B, C, D
|
pkrs:<strain>
|
UNINFECTED, A, B, C, D
|