Fix abilities crashing with confusion damage
Fix abilities crashing with confusion damage

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