Pokémon Go: Difference between revisions
| Line 30: | Line 30: | ||
} | } | ||
// halflevel: positive integer less than 100 equal to L * 2 - 1 | // halflevel: positive integer (usually less than 100) equal to L * 2 - 1 | ||
float cpm(int halflevel){ | float cpm(int halflevel){ | ||
if(halflevel >= 79){ // Levels 40 and above are computed directly | if(halflevel >= 79){ // Levels 40 and above are computed directly | ||