smogon / pokemon-showdown

Pokémon battle simulator.
https://pokemonshowdown.com
MIT License
4.65k stars 2.71k forks source link

Fix logs for protosynthesis and quarkdrive #10300

Closed Jerick120 closed 1 month ago

Jerick120 commented 1 month ago

Fix incorrect logs with stat name appended to the effect (for example protosynthesisdef) requiring an explicit if-else check and string slicing for protosynthesis and quarkdrive on the client side. This needs my PR https://github.com/smogon/pokemon-showdown-client/pull/2248 on the client side to be merged at the same time in order for everything to work.