davo899 / CobblemonTrainers

Adds a trainer battle system to Cobblemon with challenging trainer AI
Other
1 stars 4 forks source link

Trainers not using every Pokemon. #9

Closed Cheesedoghotdog closed 6 months ago

Cheesedoghotdog commented 6 months ago

I was fighting a trainer on my singleplayer world (yes, I'm lonely). It used baton pass a couple times and then, after only four of their six Pokemon were defeated, the battle was over with an error message.

davo899 commented 6 months ago

Could you send the battle log?

This is likely a problem with Cobblemon's battle mechanics and isn't caused by the trainers, I've seen a few similar issues recently.

Cheesedoghotdog commented 6 months ago

b78e3013-c944-43f0-9e3c-6806fe442a2d.txt

davo899 commented 6 months ago

Not sure exactly what went wrong here, from reading the log I see that you had fainted 5 pokemon (doduo > archen > farfetchd > taillow > pidgeotto). Cobblemon's battle AI should have switched to drifloon which had full HP, but for some reason thought it couldn't be switched in, so it caused an error. There's not really anything I can do here, should make a bug report in the Cobblemon discord with the battle log.