(
cls, pokemon, generation, ability=None, is_hidden=False, slot=1
)
| 1630 | |
| 1631 | @classmethod |
| 1632 | def setup_pokemon_past_ability_data( |
| 1633 | cls, pokemon, generation, ability=None, is_hidden=False, slot=1 |
| 1634 | ): |
| 1635 | ability = ability or cls.setup_ability_data(name="ablty for pkmn") |
| 1636 | |
| 1637 | pokemon_ability_past = PokemonAbilityPast( |
| 1638 | pokemon=pokemon, |
| 1639 | generation=generation, |
| 1640 | ability=ability, |
| 1641 | is_hidden=is_hidden, |
| 1642 | slot=slot, |
| 1643 | ) |
| 1644 | pokemon_ability_past.save() |
| 1645 | |
| 1646 | return pokemon_ability_past |
| 1647 | |
| 1648 | @classmethod |
| 1649 | def setup_pokemon_stat_data(cls, pokemon, base_stat=10, effort=10): |
no test coverage detected