Expected Behavior
Pokemon can have half-levels, although they don't appear in the wild that way. They can be in gyms with half-levels. The current equation appears to only allow for integer levels.
Current Behavior
In getPokemonLevel:
pokemonLevel = (Math.round(pokemonLevel) * 2) / 2
Possible Solution
pokemonLevel = Math.round(pokemonLevel*2) / 2
Steps to Reproduce (for bugs)
This probably isn't being noticed because RM doesn't show pokemon level in the gym overlay. I suspect that if it did we'd see it. Pokemon in the wild only have integer levels.
Context
Not at all, but ... my OCD tendencies think it should be fixed.
Your Environment
Windows 10, Python 2.7
Expected Behavior
Pokemon can have half-levels, although they don't appear in the wild that way. They can be in gyms with half-levels. The current equation appears to only allow for integer levels.
Current Behavior
In getPokemonLevel:
pokemonLevel = (Math.round(pokemonLevel) * 2) / 2
Possible Solution
Steps to Reproduce (for bugs)
This probably isn't being noticed because RM doesn't show pokemon level in the gym overlay. I suspect that if it did we'd see it. Pokemon in the wild only have integer levels.
Context
Not at all, but ... my OCD tendencies think it should be fixed.
Your Environment
Windows 10, Python 2.7