(cls, cp_multiplier)
| 624 | |
| 625 | @classmethod |
| 626 | def level_from_cpm(cls, cp_multiplier): |
| 627 | return min(range(len(cls.STATIC_DATA)), key=lambda i: abs(cls.STATIC_DATA[i] - cp_multiplier)) * 0.5 + 1 |
| 628 | |
| 629 | |
| 630 | class _Attacks(_StaticInventoryComponent): |
no outgoing calls