Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mapadroid/utils/gamemechanicutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ def form_mapper(mon_id, form_id):
def is_mon_ditto_raw(pokemon_data: pogoprotos.PokemonProto):
logger.debug3('Determining if mon is a ditto')
logger.debug4(pokemon_data)
if pokemon_data.pokemon_display.is_strong_pokemon:
logger.debug3('Strong/Mighty mon, skipping ditto check')
return False
weather_boost = pokemon_data.pokemon_display.weather_boosted_condition
valid_atk = pokemon_data.individual_attack < 4
valid_def = pokemon_data.individual_defense < 4
Expand Down