Finally done with my finals and here comes another bug report :) Wonder Room, according to http://bulbapedia.bulbagarden.net/wiki/Wonder_Room_(move) has the following description Wonder Room swaps the Defense and Special Defense of all Pokémon, but stat changes remain on their respective stat. This effect lasts for five turns. However, there could be three potential bugs concerning this move on our PO simulator rn 1. stat changes is also swapped on PO. Originally, Wonder Room can serve as a check on full EV defense + calm mind mons; however, if the increased spd stat is swapped to df, the central point of this strategy no longer makes sense. (This is the most meta-influencing bug, since if this can be fixed, there can be one more way to check suicuine etc.) 2. Concerning the weather effect of sandstorm, rock type has 1.5 times buff of sp defense. Supposedly, the spd boost should not be swapped to df under wonder room. Further testing is necessary for this one. 3. Same as the second one, the spd boost of assault vest should not be swapped. Further testing is necessary for this one. I am particularly not sure about 2 & 3, and if Elize Lutus/ Strudels can test it, it would be great Thx for reading SMH i don't know how to tag users.... A Fourth geeky one if u r still as curious as I am: Spoiler How would wonder room work with future sight/doom desire? Does use wonder room first, set dd/fs and swap the order matter? Does fs/dd counts boost on def or spd accordingly when hitting opponent? etc
1. Confirming stat changes should remain on their respective stats. 2. Sandstorm sp. def boost is swapped over to def. If sandstorm is cast after wonder room, sp. def boost automatically applies to def. 3. AV sp. def boost is swapped over to def.
Commit: https://github.com/po-devs/pokemon-online/commit/08591342 | Author: Fuzzysqurl | Commit Message: Wonder Room Fixes