Closed link-discord closed 3 years ago
Add a check if the pokemon has the levitate ability and then prevent it from choosing a ground type move
Do you have a log of the battle? It's really hard to say what the bot was thinking in your particular scenario without one.
Logic to identify that earthquake does nothing against levitate is definitely implemented in the engine. Here is a test for that scenario.
Unless there is a bug setting the levitate ability, which I cannot determine without a battle-log, what likely happened is that for whatever reason the minimax algorithm saw earthquake was the best move. This is a feature - not a bug.
Its bad, for sure. But I never claimed that this bot was the best :)
Closing for now. If you have logs showing something wrong with the bot please feel free to re-open
I had a pokemon with earthquake and it used earthquake on a rotom with levitate but all the next turns it used that same move again and again and again even though the other pokemon had levitate