Fixed the hell out of the capture rate formula. #150
authorEevee <git@veekun.com>
Sat, 17 Apr 2010 09:12:27 +0000 (02:12 -0700)
committerEevee <git@veekun.com>
Sat, 17 Apr 2010 09:16:42 +0000 (02:16 -0700)
commitab5578ed5a05f13c2625fcd8aad1df889c817f60
treeaafb4a366c5c8c3483af7a6c37135cd9acf70dd8
parent958a4f9f89bbc405ff641a157fe3fb465e737f07
Fixed the hell out of the capture rate formula.  #150

- Wobbles are based on WHICH number is greater than some pivot, not how
  many.  This was making everything totally wrong, especially 0 wobbles.

- HG/SS balls all modify capture rate, rather than ball bonus.

- Everything really is integer math; even the sqrts.  Bonuses are
  relative to 10, not 1.  HP is now treated as integer math, too.

- Implemented a minor game bug with very hard to catch Pokémon.
pokedex/formulae.py