tdmalone / slackemon

Inspired by Pokémon Go, now you can catch and battle Pokémon with your teammates on Slack!
GNU General Public License v3.0
10 stars 3 forks source link

When a Pokemon faints due to a self-damaging move, the faint isn't dealt with properly #10

Open tdmalone opened 7 years ago

tdmalone commented 7 years ago

To finish the battle you have to make a 'pointless' move.

We need to detect fainting of a Pokemon after its own move, not only after an opposing move.

tdmalone commented 7 years ago

Updated title, due to this not just affecting wild battles but PVP battles too.