AgustinSRG / Pokemon-Showdown-Node-Bot

Pokemon Showdown Bot for Node (Deprecated)
Other
34 stars 150 forks source link

Sometimes, The Pokemon uses a move on its ally. #45

Closed Salamencizer closed 8 years ago

Salamencizer commented 8 years ago

This mostly happens in doubles and triples. The reason is unknown. I'll post replays when I see this happens. Anyways, Thanks for such a wonderful bot!

Salamencizer commented 8 years ago

Also sometimes, the bot becomes inactive: http://replay.pokemonshowdown.com/rom-tripleshackmonscup-8249 Mostly happens when the opponent has a stat raise and the bot has only one poke left. http://replay.pokemonshowdown.com/rom-inverserandombattle-8480

asanrom commented 8 years ago

Hitting allies problem fixed by cd8a2e3e996bcb796ee2008f609f8012c36a8a42

Also, I tried to reproduce the situations where the bot goes inactive (it means that the bot sends an invalid decision), but in my case the bot never goes inactive. If your bot goes inactive in a battle and you're there, try to get the decision it is trying to send with the command .eb this.lastSend.decision and maybe we can figure out what's happening.

Salamencizer commented 8 years ago

Thanks alot

asanrom commented 8 years ago

Fixed by e1c56a3adaccf855415a254245d052f8656afe62

Salamencizer commented 8 years ago

Thanks alot!