mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
fix a typo I made in #givePokerus
This commit is contained in:
@@ -396,7 +396,7 @@ class PokeBattle_Pokemon
|
|||||||
def givePokerus(strain = 0)
|
def givePokerus(strain = 0)
|
||||||
return if self.pokerusStage == 2 # Can't re-infect a cured Pokémon
|
return if self.pokerusStage == 2 # Can't re-infect a cured Pokémon
|
||||||
strain = 1 + rand(15) if strain <= 0 || strain >= 16
|
strain = 1 + rand(15) if strain <= 0 || strain >= 16
|
||||||
time = 1 + (strain %4 )
|
time = 1 + (strain % 4)
|
||||||
@pokerus = time
|
@pokerus = time
|
||||||
@pokerus |= strain << 4
|
@pokerus |= strain << 4
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user