calculate_cp
Calculate a Pokémon's CP and actual Attack/Defense/HP for a given level and IVs, with optional Shadow modifiers.
Instructions
CP (and actual Attack/Defense/HP) for an exact IV spread at a given level, 1.0-50.0 in 0.5 increments, IVs 0-15. Set shadow=True to apply the Shadow attack/defense modifiers used by the real game's CP display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| shadow | No | ||
| pokemon | Yes | ||
| attack_iv | Yes | ||
| defense_iv | Yes | ||
| stamina_iv | Yes |