Fix Illusion failing to fake trapping abilities It wouldn't activate the "maybeTrapped" flag.
Fix Illusion failing to fake trapping abilities
It wouldn't activate the "maybeTrapped" flag.

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