ability ball & incubators fix

This commit is contained in:
infinitefusion
2022-09-05 14:17:25 -04:00
parent d58c71781d
commit 3bf6a1e2ba
6 changed files with 48 additions and 31 deletions

View File

@@ -29,7 +29,8 @@ BallHandlers::ModifyCatchRate.add(:ABILITYBALL,proc{|ball,catchRate,battle,pokem
next catchRate
})
BallHandlers::OnCatch.add(:ABILITYBALL,proc{|ball,battle,pokemon|
#pokemon.ability=2
species = getSpecies(dexNum(pokemon))
pokemon.ability= species.hidden_abilities[-1]
})
#VIRUS BALL 27 - give pokerus