MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / _compute_iv_perfection

Method _compute_iv_perfection

pokemongo_bot/inventory.py:1108–1111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1106 return '{}/{}/{}'.format(self.iv_attack, self.iv_defense, self.iv_stamina)
1107
1108 def _compute_iv_perfection(self):
1109 total_iv = self.iv_attack + self.iv_defense + self.iv_stamina
1110 iv_perfection = round((total_iv / 45.0), 2)
1111 return iv_perfection
1112
1113 def _compute_cp_perfection(self):
1114 """

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected