fix a typo I made in #givePokerus

This commit is contained in:
jonisavo
2020-09-08 12:22:18 +03:00
parent 234f435a75
commit 0faff2b546

View File

@@ -396,7 +396,7 @@ class PokeBattle_Pokemon
def givePokerus(strain = 0)
return if self.pokerusStage == 2 # Can't re-infect a cured Pokémon
strain = 1 + rand(15) if strain <= 0 || strain >= 16
time = 1 + (strain %4 )
time = 1 + (strain % 4)
@pokerus = time
@pokerus |= strain << 4
end