public void ResetEffects()
{
this.extraAccessorySlots = !this.extraAccessory || !Main.expertMode && !Main.gameMenu ? 0 : 1;
this.arcticDivingGear = false;
this.strongBees = false;
this.armorPenetration = 0;
this.shroomiteStealth = false;
this.statDefense = 0;
this.accWatch = 0;
this.accCompass = 0;
this.accDepthMeter = 0;
this.accDivingHelm = false;
this.lifeRegen = 0;
this.manaCost = 1f;
this.meleeSpeed = 1f;
this.meleeDamage = 1f;
this.rangedDamage = 1f;
this.thrownDamage = 1f;
this.magicDamage = 1f;
this.minionDamage = 1f;
this.meleeCrit = 4;
this.rangedCrit = 4;
this.magicCrit = 4;
this.thrownCrit = 4;
this.thrownVelocity = 1f;
this.minionKB = 0.0f;
this.moveSpeed = 1f;
this.boneArmor = false;
this.honey = false;
this.frostArmor = false;
this.rocketBoots = 0;
this.fireWalk = false;
this.noKnockback = false;
this.jumpBoost = false;
this.noFallDmg = false;
this.accFlipper = false;
this.spawnMax = false;
this.spaceGun = false;
this.killGuide = false;
this.killClothier = false;
this.lavaImmune = false;
this.gills = false;
this.slowFall = false;
this.findTreasure = false;
this.invis = false;
this.nightVision = false;
this.enemySpawns = false;
this.thorns = 0.0f;
this.aggro = 0;
this.waterWalk = false;
this.waterWalk2 = false;
this.detectCreature = false;
this.gravControl = false;
this.bee = false;
this.gravControl2 = false;
this.statLifeMax2 = this.statLifeMax;
this.statManaMax2 = this.statManaMax;
this.ammoCost80 = false;
this.ammoCost75 = false;
this.thrownCost50 = false;
this.thrownCost33 = false;
this.manaRegenBuff = false;
this.arrowDamage = 1f;
this.bulletDamage = 1f;
this.rocketDamage = 1f;
this.yoraiz0rEye = 0;
this.yoraiz0rDarkness = false;
this.suspiciouslookingTentacle = false;
this.crimsonHeart = false;
this.lightOrb = false;
this.blueFairy = false;
this.redFairy = false;
this.greenFairy = false;
this.wisp = false;
this.bunny = false;
this.turtle = false;
this.eater = false;
this.skeletron = false;
this.hornet = false;
this.zephyrfish = false;
this.tiki = false;
this.lizard = false;
this.parrot = false;
this.sapling = false;
this.cSapling = false;
this.truffle = false;
this.yoyoGlove = false;
this.counterWeight = 0;
this.stringColor = 0;
this.yoyoString = false;
this.shadowDodge = false;
this.palladiumRegen = false;
this.chaosState = false;
this.onHitDodge = false;
this.onHitRegen = false;
this.onHitPetal = false;
this.iceBarrier = false;
this.maxMinions = 1;
this.ammoBox = false;
this.ammoPotion = false;
this.penguin = false;
this.sporeSac = false;
this.shinyStone = false;
this.magicLantern = false;
this.rabid = false;
this.sunflower = false;
this.wellFed = false;
this.inferno = false;
this.manaMagnet = false;
this.lifeMagnet = false;
this.lifeForce = false;
this.dangerSense = false;
this.endurance = 0.0f;
this.calmed = false;
this.beetleOrbs = 0;
this.beetleBuff = false;
this.miniMinotaur = false;
this.goldRing = false;
this.solarShields = 0;
this.GoingDownWithGrapple = false;
this.fishingSkill = 0;
this.cratePotion = false;
this.sonarPotion = false;
this.accTackleBox = false;
this.accFishingLine = false;
this.accFishFinder = false;
this.accWeatherRadio = false;
this.accThirdEye = false;
this.accJarOfSouls = false;
this.accCalendar = false;
this.accStopwatch = false;
this.accOreFinder = false;
this.accCritterGuide = false;
this.accDreamCatcher = false;
this.wallSpeed = 1f;
this.tileSpeed = 1f;
this.autoPaint = false;
this.babyFaceMonster = false;
this.manaSick = false;
this.puppy = false;
this.grinch = false;
this.blackCat = false;
this.spider = false;
this.squashling = false;
this.magicCuffs = false;
this.coldDash = false;
this.sailDash = false;
this.cordage = false;
this.magicQuiver = false;
this.magmaStone = false;
this.lavaRose = false;
this.eyeSpring = false;
this.snowman = false;
this.scope = false;
this.panic = false;
this.brainOfConfusion = false;
this.dino = false;
this.crystalLeaf = false;
this.pygmy = false;
this.raven = false;
this.slime = false;
this.hornetMinion = false;
this.impMinion = false;
this.twinsMinion = false;
this.spiderMinion = false;
this.pirateMinion = false;
this.sharknadoMinion = false;
this.stardustMinion = false;
this.stardustGuardian = false;
this.stardustDragon = false;
this.UFOMinion = false;
this.DeadlySphereMinion = false;
this.chilled = false;
this.dazed = false;
this.frozen = false;
this.stoned = false;
this.webbed = false;
this.ichor = false;
this.manaRegenBonus = 0;
this.manaRegenDelayBonus = 0;
this.carpet = false;
this.iceSkate = false;
this.dash = 0;
this.spikedBoots = 0;
this.blackBelt = false;
this.lavaMax = 0;
this.archery = false;
this.poisoned = false;
this.venom = false;
this.blind = false;
this.blackout = false;
this.onFire = false;
this.dripping = false;
this.drippingSlime = false;
this.burned = false;
this.suffocating = false;
this.onFire2 = false;
this.onFrostBurn = false;
this.frostBurn = false;
this.noItems = false;
this.blockRange = 0;
this.pickSpeed = 1f;
this.wereWolf = false;
this.rulerGrid = false;
this.rulerLine = false;
this.bleed = false;
this.confused = false;
this.wings = 0;
this.wingsLogic = 0;
this.wingTimeMax = 0;
this.brokenArmor = false;
this.silence = false;
this.slow = false;
this.gross = false;
this.tongued = false;
this.kbGlove = false;
this.kbBuff = false;
this.starCloak = false;
this.longInvince = false;
this.pStone = false;
this.manaFlower = false;
this.crimsonRegen = false;
this.ghostHeal = false;
this.ghostHurt = false;
this.turtleArmor = false;
this.turtleThorns = false;
this.spiderArmor = false;
this.loveStruck = false;
this.stinky = false;
this.dryadWard = false;
this.resistCold = false;
this.electrified = false;
this.moonLeech = false;
this.headcovered = false;
this.vortexDebuff = false;
this.setVortex = this.setNebula = this.setStardust = false;
this.nebulaLevelDamage = this.nebulaLevelLife = this.nebulaLevelMana = 0;
this.ignoreWater = false;
this.meleeEnchant = (byte)0;
this.discount = false;
this.coins = false;
this.doubleJumpSail = false;
this.doubleJumpSandstorm = false;
this.doubleJumpBlizzard = false;
this.doubleJumpFart = false;
this.doubleJumpUnicorn = false;
this.paladinBuff = false;
this.paladinGive = false;
this.autoJump = false;
this.justJumped = false;
this.jumpSpeedBoost = 0.0f;
this.extraFall = 0;
if (this.phantasmTime > 0)
--this.phantasmTime;
for (int index = 0; index < this.npcTypeNoAggro.Length; ++index)
this.npcTypeNoAggro[index] = false;
for (int index = 0; index < this.ownedProjectileCounts.Length; ++index)
this.ownedProjectileCounts[index] = 0;
if (this.whoAmI == Main.myPlayer)
{
Player.tileRangeX = 5;
Player.tileRangeY = 4;
}
this.mount.CheckMountBuff(this);
}