Pokérus: Difference between revisions

From Pixelrus
Jump to navigation Jump to search
(Create Pokérus)
 
m (Update Pokérus)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''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.
'''Pokérus''' ("Pokémon virus") is a status a Pixelmon can carry. While infected, the [[EV training|effort values (EVs)]] a Pixelmon gains from battle are doubled. An infection lasts a fixed time set by its strain, then becomes cured, and can spread to adjacent party members after a battle. It has no negative effects.


== Quick facts ==
== Effect ==


* Pokérus is currently enabled by config.
While infected, EVs gained from battle are doubled. The multiplier is applied after EV-boosting held items: a [[Macho Brace]] or power item (e.g. [[Power Weight]]) bonus is added first, then the total is doubled. Pokérus affects only EV gain.
* 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 ==
== Strains ==


{| class="wikitable sortable" style="width:100%;"
On infection a Pixelmon is assigned a random strain. The strain sets the infection's duration and has no other effect. Infection lasts between 1 and 4 days.
! Strain !! Displayed state !! Duration seconds !! Active duration !! Notes
 
|-
{| class="wikitable sortable"
| <code>UNINFECTED</code>
! Strain !! Duration
| Uninfected
| -1
| -
| Uninfected marker; no active strain duration.
|-
|-
| <code>A</code>
| <code>A</code>
| Infected: A<br>Cured: A
| 86400
| 1 day
| 1 day
| Active until the timer reaches the listed duration, then displayed as cured.
|-
|-
| <code>B</code>
| <code>B</code>
| Infected: B<br>Cured: B
| 172800
| 2 days
| 2 days
| Active until the timer reaches the listed duration, then displayed as cured.
|-
|-
| <code>C</code>
| <code>C</code>
| Infected: C<br>Cured: C
| 259200
| 3 days
| 3 days
| Active until the timer reaches the listed duration, then displayed as cured.
|-
|-
| <code>D</code>
| <code>D</code>
| Infected: D<br>Cured: D
| 345600
| 4 days
| 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 <code>UNINFECTED</code>. A saved Pokérus state is kept separately from the displayed infected/cured text.
Uninfected Pixelmon use the <code>UNINFECTED</code> marker. The infected and cured states keep the same strain name.


== Configuration ==
== Acquisition ==


Pokérus settings are read from <code>config/pixelmon/pokerus.yml</code> when a server config is present.
=== From wild Pixelmon ===


{| class="wikitable sortable" style="width:100%;"
Spawned Pixelmon have a 1 in 12,288 (0.0081%) chance per spawn to carry Pokérus.
! Setting !! Current value !! Jar default !! Meaning !! Source
 
|-
Individual spawns and spawn sets may override this rate with <code>spawnSpecificPokerusRate</code> or <code>setSpecificPokerusRate</code>; none are set in the current spawn data.
| Enabled
 
| Yes
=== Spreading after battle ===
| 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 ==
After a player wins a battle, an infected party Pixelmon can spread Pokérus to its adjacent party slots, and an attacker can be infected by a target it hits that carries Pokérus. Fainted Pixelmon, Pixelmon already carrying Pokérus, and cured Pixelmon are skipped (a cured Pixelmon cannot be re-infected).


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.
Each eligible spread attempt has a 1 in 5 (20%) chance to succeed.


The spawning system supports per-spawn and per-spawn-set Pokérus rates, but the loaded spawn JSON does not set either override.
=== Pokémon Spec ===


== EV growth ==
Pokérus can be set or matched via [[Pokémon Spec]] using <code>pokerus:&lt;strain&gt;</code> or <code>pkrs:&lt;strain&gt;</code>, where <code>&lt;strain&gt;</code> is one of <code>UNINFECTED</code>, <code>A</code>, <code>B</code>, <code>C</code>, <code>D</code>.


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.
== Duration and curing ==


== Curing ==
The infection timer advances only while the Pixelmon is in a player's party. Pixelmon in the [[PC]] do not age, and eggs are skipped and never carry Pokérus, so storing an infected Pixelmon in the PC preserves the infection indefinitely.


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.
When the timer reaches the strain's duration, the Pixelmon is cured. A cured Pixelmon retains a record of the infection but can no longer spread it.


== Spread after battle ==
== Notification ==


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.
When a party Pixelmon is first found carrying Pokérus, the following message is shown at the next healer used:


Each allowed attempt uses the configured battle spread rate. A value of <code>-1</code> disables this battle spread listener, <code>0</code> makes allowed attempts always succeed, and positive values work as a 1/x roll.
<blockquote>Your Pixelmon appear to have been infected by Pokérus, a microscopic life-form that we do not know much about just yet.<br>It spreads quickly, but does not seem to cause any harm.<br>It has, on occasion, even proven to be beneficial to a Pixelmon's growth, though infections seem to be short-lived.</blockquote>


== Healer message ==
== Server settings ==


If healer messages are enabled, the player is told about an unannounced Pokérus state after closing the healer screen.
Current Pokérus configuration. Operators set these in <code>config/pixelmon/pokerus.yml</code>.


{| class="wikitable" style="width:100%;"
{| class="wikitable"
! Line !! Text
! Setting !! Current value !! Effect
|-
|-
| 1
| Enabled
| <nowiki>Your Pixelmon appear to have been infected by Pokérus, a microscopic life-form that we do not know much about just yet.</nowiki>
| Yes
| Whether or not the Pokérus is enabled. This blocks the growth, the spread and the spawning of the Pokérus.
|-
|-
| 2
| Wild appearance rate
| <nowiki>It spreads quickly, but does not seem to cause any harm.</nowiki>
| 1 in 12,288 (0.0081%)
| Pokérus spawn rate (1/x). (0 to disable)
|-
|-
| 3
| Healer notification
| <nowiki>It has, on occasion, even proven to be beneficial to a Pixelmon's growth, though infections seem to be short-lived.</nowiki>
| Yes
|}
| Whether or not the player should be informed if their Pixelmon got Pokérus.
 
== Spec keys ==
 
Pokérus can be matched or applied through the following spec keys. The value is one of the strains listed above.
 
{| class="wikitable" style="width:100%;"
! Pattern !! Accepted strains
|-
|-
| <code>pokerus:&lt;strain&gt;</code>
| Battle spread rate
| <code>UNINFECTED</code>, <code>A</code>, <code>B</code>, <code>C</code>, <code>D</code>
| 1 in 5 (20%)
|-
| Chance to spread the Pokérus to the near Pixelmon after a battle. (1/x) (-1 to disable; 0 to keep always active)
| <code>pkrs:&lt;strain&gt;</code>
| <code>UNINFECTED</code>, <code>A</code>, <code>B</code>, <code>C</code>, <code>D</code>
|}
|}



Latest revision as of 21:29, 15 June 2026

Pokérus ("Pokémon virus") is a status a Pixelmon can carry. While infected, the effort values (EVs) a Pixelmon gains from battle are doubled. An infection lasts a fixed time set by its strain, then becomes cured, and can spread to adjacent party members after a battle. It has no negative effects.

Effect

While infected, EVs gained from battle are doubled. The multiplier is applied after EV-boosting held items: a Macho Brace or power item (e.g. Power Weight) bonus is added first, then the total is doubled. Pokérus affects only EV gain.

Strains

On infection a Pixelmon is assigned a random strain. The strain sets the infection's duration and has no other effect. Infection lasts between 1 and 4 days.

Strain Duration
A 1 day
B 2 days
C 3 days
D 4 days

Uninfected Pixelmon use the UNINFECTED marker. The infected and cured states keep the same strain name.

Acquisition

From wild Pixelmon

Spawned Pixelmon have a 1 in 12,288 (0.0081%) chance per spawn to carry Pokérus.

Individual spawns and spawn sets may override this rate with spawnSpecificPokerusRate or setSpecificPokerusRate; none are set in the current spawn data.

Spreading after battle

After a player wins a battle, an infected party Pixelmon can spread Pokérus to its adjacent party slots, and an attacker can be infected by a target it hits that carries Pokérus. Fainted Pixelmon, Pixelmon already carrying Pokérus, and cured Pixelmon are skipped (a cured Pixelmon cannot be re-infected).

Each eligible spread attempt has a 1 in 5 (20%) chance to succeed.

Pokémon Spec

Pokérus can be set or matched via Pokémon Spec using pokerus:<strain> or pkrs:<strain>, where <strain> is one of UNINFECTED, A, B, C, D.

Duration and curing

The infection timer advances only while the Pixelmon is in a player's party. Pixelmon in the PC do not age, and eggs are skipped and never carry Pokérus, so storing an infected Pixelmon in the PC preserves the infection indefinitely.

When the timer reaches the strain's duration, the Pixelmon is cured. A cured Pixelmon retains a record of the infection but can no longer spread it.

Notification

When a party Pixelmon is first found carrying Pokérus, the following message is shown at the next healer used:

Your Pixelmon appear to have been infected by Pokérus, a microscopic life-form that we do not know much about just yet.
It spreads quickly, but does not seem to cause any harm.
It has, on occasion, even proven to be beneficial to a Pixelmon's growth, though infections seem to be short-lived.

Server settings

Current Pokérus configuration. Operators set these in config/pixelmon/pokerus.yml.

Setting Current value Effect
Enabled Yes Whether or not the Pokérus is enabled. This blocks the growth, the spread and the spawning of the Pokérus.
Wild appearance rate 1 in 12,288 (0.0081%) Pokérus spawn rate (1/x). (0 to disable)
Healer notification Yes Whether or not the player should be informed if their Pixelmon got Pokérus.
Battle spread rate 1 in 5 (20%) Chance to spread the Pokérus to the near Pixelmon after a battle. (1/x) (-1 to disable; 0 to keep always active)