Skip to content

Gardevoir tracing Dancer #785

@SantiagoRR2004

Description

@SantiagoRR2004

When Gardevoir has the Trace Ability and the opponent's Oricorio with the ability Dancer uses a move that is affected by Dancer, an AssertionError occurs:

AssertionError: Error with move psyshock. Expected self.moves to contain copycat, metronome, mefirst, mirrormove, assist, transform or mimic. Got {'quiverdance': quiverdance (Move object), 'revelationdance': revelationdance (Move object), 'moonblast': moonblast (Move object), 'mysticalfire': mysticalfire (Move object)}

This happens because there are no fallbacks for cases where the Pokémon has moved with its ability. This could be fixed by checking if the ability is Trace or Dancer (maybe Magic Bounce as well).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions