-
Notifications
You must be signed in to change notification settings - Fork 87
Description
Copied from Discord forum post: I was automating a solo DA against Tornadus. The program selected Aurorus, which has the Refrigerate ability, for my character. I was loosely following the progress, and I noticed the program never selected Body Slam throughout the DA, which is converted from Normal to Ice type due to the ability. The program used Ancientpower first, and when the PP ran out, it seemed to struggle picking a move before picking Thunder. I was wondering if the program is aware of Refrigerate and how it affects Body Slam.
After finding out about the SerialProgram log file, I took a peek in there. The score for Body Slam was never higher than Ancientpower, and was rarely higher than Thunder. I did some rough calcs using the Showdown calculator, and the only way I could get Ancientpower do deal more damage than Body Slam was Aurorus having a Modest nature with an attack IV of 0-1, and Tornadus having a +Def nature with a Defense IV of 30-31. Maybe that is what happened but I can't say for sure.
Arduino-Source/SerialPrograms/Source/PokemonSwSh/PkmnLib/PokemonSwSh_PkmnLib_Battle.cpp
Line 351 in 6cf546f
| if (attacker.ability() == "refrigerate"){ |