Restrict Stealth Rocks on Random Battle Teams to 2
Restrict Stealth Rocks on Random Battle Teams to 2

Refactor set generation function to use a new parameter `teamDetails` to
keep track of more than just whether there shouldn't be a Mega Evolution.

Guernouille/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,PauLucario/LQP-Server-Showdown,TbirdClanWish/Pokemon-Showdown,TheManwithskills/Server---Thermal,Bryan-0/Pokemon-Showdown,Pablo000/aaa,NoahVSGamingYT/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Git-Worm/City-PS,kubetz/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,hayleysworld/serenityserver,urkerab/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,Mystifi/Exiled,Pablo000/aaa,ZestOfLife/FestiveLife,TogeSR/Lumen-Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pokemon-Showdown,bai2/Dropp,ShowdownHelper/Saffron,MeliodasBH/boarhat,TheManwithskills/Server---Thermal,brettjbush/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,RustServer/Pokemon-Showdown,Flareninja/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,piiiikachuuu/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,Alpha-Devs/Alpha-Server,Ecuacion/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Vacate/Pokemon-Showdown,DB898/theregalias,kupochu/Pokemon-Showdown,hayleysworld/serenityc9,AbsolitoSweep/Absol-server,psnsVGC/Wish-Server,MayukhKundu/Flame-Savior,gustavo515/test,TheManwithskills/COC,aakashrajput/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,KewlStatics/Showdown-Template,SilverTactic/Dragotica-Pokemon-Showdown,SolarisFox/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,azum4roll/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,JennyPRO/Jenny,TheDiabolicGift/Showdown-Boilerplate,gustavo515/batata,gustavo515/final,DesoGit/Tsunami_PS,Zipzapadam/Server,ankailou/Pokemon-Showdown,danpantry/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,Celecitia/Plux-Pokemon-Showdown,zek7rom/SpacialGaze,ankailou/Pokemon-Showdown,DesoGit/Tsunami_PS,Pikachuun/Pokemon-Showdown,Kokonoe-san/Glacia-PS,yashagl/pokemon-showdown,jd4564/Pokemon-Showdown,HoeenCoder/SpacialGaze,sirDonovan/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,EmmaKitty/Pokemon-Showdown,DarkSuicune/Kakuja-2.0,kuroscafe/Paradox,NoahVSGamingYT/Pokemon-Showdown,TheManwithskills/DS,Alpha-Devs/OmegaRuby-Server,AWailOfATail/awoat,KewlStatics/Alliance,svivian/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,zek7rom/SpacialGaze,Elveman/RPCShowdownServer,MasterFloat/LQP-Server-Showdown,megaslowbro1/Showdown-Server-again,MasterFloat/LQP-Server-Showdown,ehk12/bigbangtempclone,ehk12/clone,xCrystal/Pokemon-Showdown,TheManwithskills/Server,Hidden-Mia/Roleplay-PS,abrulochp/Dropp-Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,svivian/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,MayukhKundu/Flame-Savior,lFernanl/Lumen-Pokemon-Showdown,k3naan/Pokemon-Showdown,lFernanl/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,DB898/theregalias,Firestatics/Firestatics46,ShowdownHelper/Saffron,ZeroParadox/BlastBurners,Nineage/Origin,Zarel/Pokemon-Showdown,Sora-Server/Sora,Sora-League/Sora,Ridukuo/Test,Atwar/ServerClassroom,Irraquated/Pokemon-Showdown,MeliodasBH/boarhat,megaslowbro1/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,Irraquated/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,Enigami/Pokemon-Showdown,TheManwithskills/New-boiler-test,BuzzyOG/Pokemon-Showdown,Firestatics/Firestatics46,TheFenderStory/Pokemon-Showdown,ZeroParadox/BlastBurners,DarkSuicune/Pokemon-Showdown,KaitoV4X/Showdown,Enigami/Pokemon-Showdown,ZeroParadox/ugh,QuiteQuiet/Pokemon-Showdown,panpawn/Gold-Server,DesoGit/Tsunami_PS,megaslowbro1/Showdown-Server-again,Wando94/Spite,BlazingAura/Showdown-Boilerplate,xfix/Pokemon-Showdown,urkerab/Pokemon-Showdown,ZestOfLife/PSserver,Articuno-I/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,Git-Worm/City-PS,CreaturePhil/Showdown-Boilerplate,Lord-Haji/SpacialGaze,kupochu/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,KewlStatics/Shit,Ecuacion/Lumen-Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,Lauc1an/Perulink-Showdown,JellalTheMage/PS-,theodelhay/test,AnaRitaTorres/Pokemon-Showdown,TheManwithskills/New-boiler-test,arkanox/MistShowdown,asdfghjklohhnhn/Pokemon-Showdown,Ransei1/Alt,TheDiabolicGift/Lumen-Pokemon-Showdown,ehk12/bigbangtempclone,ZestOfLife/PSserver,Flareninja/Lumen-Pokemon-Showdown,lAlejandro22/lolipoop,brettjbush/Pokemon-Showdown,Volcos/SpacialGaze,RustServer/Pokemon-Showdown,Sora-League/Sora,AWailOfATail/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,PS-Spectral/Spectral,lFernanl/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,JellalTheMage/PS-,Mystifi/Exiled,PauLucario/LQP-Server-Showdown,PS-Spectral/Spectral,Articuno-I/Pokemon-Showdown,Syurra/Pokemon-Showdown,panpawn/Pokemon-Showdown,panpawn/Gold-Server,CharizardtheFireMage/Showdown-Boilerplate,abulechu/Lumen-Pokemon-Showdown,Flareninja/Showdown-Boilerplate,hayleysworld/Showdown-Boilerplate,Ridukuo/Test,Volcos/SpacialGaze,cadaeic/Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,Mystifi/Exiled,zczd/enculer,Firestatics/omega,AWailOfATail/Pokemon-Showdown,Atwar/ServerClassroom,EienSeiryuu/Pokemon-Showdown,ehk12/coregit,abulechu/Dropp-Pokemon-Showdown,Kokonoe-san/Glacia-PS,SkyeTheFemaleSylveon/Pokemon-Showdown,ZestOfLife/FestiveLife,johtooo/PS,BuzzyOG/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,JellalTheMage/Jellals-Server,kubetz/Pokemon-Showdown,ehk12/clone,EienSeiryuu/Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,PrimalGallade45/Dropp-Pokemon-Showdown,TheManwithskills/serenity,AWailOfATail/awoat,yashagl/yash-showdown,BuzzyOG/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,lAlejandro22/lolipoop,Hidden-Mia/Roleplay-PS,TheManwithskills/Dusk--Showdown,sama2/Lumen-Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,MeliodasBH/Articuno-Land,JennyPRO/Jenny,gustavo515/gashoro,k3naan/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,TheManwithskills/Server,JellalTheMage/Jellals-Server,AbsolitoSweep/Absol-server,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,scotchkorean27/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,TheManwithskills/serenity,HoeenCoder/SpacialGaze,HoeenCoder/SpacialGaze,panpawn/Pokemon-Showdown,Lauc1an/Perulink-Showdown,gustavo515/batata,KewlStatics/Alliance,TheManwithskills/COC,hayleysworld/serenity,EmmaKitty/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,Sora-Server/Sora,gustavo515/final,Firestatics/omega,Pokemon-Devs/Pokemon-Showdown,panpawn/Gold-Server,abrulochp/Dropp-Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Wando94/Pokemon-Showdown,hayleysworld/serenityc9,Pikachuun/Pokemon-Showdown-SMCMDM,Flareninja/Lumen-Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Lord-Haji/SpacialGaze,superman8900/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,KewlStatics/Shit,aakashrajput/Pokemon-Showdown,azum4roll/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,theodelhay/test,LustyAsh/EOS-Master,Irraquated/Pokemon-Showdown,Wando94/Pokemon-Showdown,ZeroParadox/ugh,Kevinxzllz/PS-Openshift-Server,gustavo515/test,Alpha-Devs/Alpha-Server,Zipzapadam/Server,xCrystal/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,MeliodasBH/Articuno-Land,CreaturePhil/Showdown-Boilerplate,Enigami/Pokemon-Showdown,Elveman/RPCShowdownServer,abulechu/Dropp-Pokemon-Showdown,Ransei1/Alt,KaitoV4X/Showdown,PS-Spectral/Spectral,xfix/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,Flareninja/Pokemon-Showdown,TheManwithskills/DS,LustyAsh/EOS-Master,javi501/Lumen-Pokemon-Showdown,Zarel/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,gustavo515/gashoro,forbiddennightmare/Pokemon-Showdown-1,AustinXII/Pokemon-Showdown,Lord-Haji/SpacialGaze,kuroscafe/Paradox,xfix/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Guernouille/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,DesoGit/TsunamiPS,TheFenderStory/Showdown-Boilerplate,KewlStatics/Showdown-Template,megaslowbro1/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,danpantry/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,xCrystal/Pokemon-Showdown,DesoGit/TsunamiPS,arkanox/MistShowdown,Syurra/Pokemon-Showdown,Nineage/Origin,Ecuacion/Pokemon-Showdown,hayleysworld/serenityserver,Sora-League/Sora,zczd/enculer,Vacate/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,yashagl/pokemon-showdown,urkerab/Pokemon-Showdown,ShowdownHelper/Saffron,xfix/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,TheManwithskills/Dusk--Showdown,jd4564/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,Zarel/Pokemon-Showdown,Firestatics/Omega-Alpha,forbiddennightmare/Pokemon-Showdown-1,jumbowhales/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,Atwar/server-epilogueleague.rhcloud.com,ehk12/coregit,lFernanl/Zero-Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,Firestatics/Omega-Alpha,TheFenderStory/Pokemon-Showdown,hayleysworld/serenity,cadaeic/Pokemon-Showdown,Wando94/Spite,psnsVGC/Wish-Server,johtooo/PS,Sora-Server/Sora,HoeenCoder/SpacialGaze,bai2/Dropp,superman8900/Pokemon-Showdown,AustinXII/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,Enigami/Pokemon-Showdown,DarkSuicune/Kakuja-2.0,sama2/Dropp-Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,xfix/Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,svivian/Pokemon-Showdown,yashagl/yash-showdown,sirDonovan/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,hayleysworld/Showdown-Boilerplate