public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.CalamityLoaded) { return; } CalamityPlayer modPlayer = player.GetModPlayer <CalamityPlayer>(calamity); if (Soulcheck.GetValue("Tarragon Effects")) { modPlayer.tarraSet = true; //melee modPlayer.tarraMelee = true; //range modPlayer.tarraRanged = true; //magic modPlayer.tarraMage = true; //summon modPlayer.tarraSummon = true; //throw modPlayer.tarraThrowing = true; } if (Soulcheck.GetValue("Profaned Soul Artifact")) { //profaned soul artifact modPlayer.pArtifact = true; } }
public override void UpdateAccessory(Player player, bool hideVisual) { FargoPlayer fargoPlayer = player.GetModPlayer <FargoPlayer>(); //magical bulb player.lifeRegen += 2; player.buffImmune[BuffID.Venom] = true; if (Soulcheck.GetValue("Plantera Minion")) { player.AddBuff(mod.BuffType("PlanterasChild"), 2); } //lihzahrd treasure player.buffImmune[BuffID.Burning] = true; player.buffImmune[mod.BuffType("Fused")] = true; fargoPlayer.LihzahrdTreasureBox = true; //celestial rune player.buffImmune[mod.BuffType("MarkedforDeath")] = true; player.buffImmune[mod.BuffType("Hexed")] = true; fargoPlayer.CelestialRune = true; fargoPlayer.AdditionalAttacks = true; //chalice player.buffImmune[mod.BuffType("Atrophied")] = true; player.buffImmune[mod.BuffType("Jammed")] = true; player.buffImmune[mod.BuffType("ReverseManaFlow")] = true; player.buffImmune[mod.BuffType("Antisocial")] = true; fargoPlayer.MoonChalice = true; if (Soulcheck.GetValue("Cultist Minion")) { player.AddBuff(mod.BuffType("LunarCultist"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.GetModPlayer <FargoPlayer>(mod).BuilderEffect = true; player.tileSpeed += 0.25f; player.wallSpeed += 0.25f; //toolbox Player.tileRangeX += 50; Player.tileRangeY += 50; //gizmo pack player.autoPaint = true; //pick axe stuff player.pickSpeed -= 0.50f; //mining helmet if (Soulcheck.GetValue("Shine Buff") == false) { Lighting.AddLight(player.Center, 0.8f, 0.8f, 0f); } //presserator player.autoActuator = true; if (!hideVisual) { player.GetModPlayer <FargoPlayer>(mod).BuilderMode = true; } }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(mod); ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //life binder set bonus thoriumPlayer.mistSet = true; //aloe leaf thoriumPlayer.aloePlant = true; //goat pet modPlayer.BinderEnchant = true; modPlayer.AddPet("Holy Goat Pet", hideVisual, thorium.BuffType("HolyGoatBuff"), thorium.ProjectileType("HolyGoat")); thoriumPlayer.goatPet = true; if (Soulcheck.GetValue("Iridescent Flash")) { //iridescent set bonus thoriumPlayer.iridescentSet = true; } //equalizer thoriumPlayer.equilibrium = true; }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.CalamityLoaded) { return; } CalamityPlayer modPlayer = player.GetModPlayer <CalamityPlayer>(calamity); //body modPlayer.shadeRegen = true; player.thorns = 100f; //legs modPlayer.shadowSpeed = true; //set bonus modPlayer.dsSetBonus = true; if (Soulcheck.GetValue("Red Devil Minion")) { modPlayer.redDevil = true; if (player.whoAmI == Main.myPlayer) { if (player.FindBuffIndex(calamity.BuffType("RedDevil")) == -1) { player.AddBuff(calamity.BuffType("RedDevil"), 3600, true); } if (player.ownedProjectileCounts[calamity.ProjectileType("RedDevil")] < 1) { Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, -1f, calamity.ProjectileType("RedDevil"), 0, 0f, Main.myPlayer, 0f, 0f); } } } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[mod.BuffType("ClippedWings")] = true; player.buffImmune[mod.BuffType("Crippled")] = true; if (Soulcheck.GetValue("Inflict Clipped Wings")) player.GetModPlayer<FargoPlayer>().DragonFang = true; }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[BuffID.Blackout] = true; player.buffImmune[BuffID.Obstructed] = true; player.buffImmune[BuffID.Dazed] = true; player.minionDamage += 0.16f; player.statDefense -= 6; player.aggro -= 400; player.GetModPlayer <FargoPlayer>().SkullCharm = true; if (!player.ZoneDungeon) { player.npcTypeNoAggro[NPCID.SkeletonSniper] = true; player.npcTypeNoAggro[NPCID.SkeletonCommando] = true; player.npcTypeNoAggro[NPCID.TacticalSkeleton] = true; player.npcTypeNoAggro[NPCID.DiabolistRed] = true; player.npcTypeNoAggro[NPCID.DiabolistWhite] = true; player.npcTypeNoAggro[NPCID.Necromancer] = true; player.npcTypeNoAggro[NPCID.NecromancerArmored] = true; player.npcTypeNoAggro[NPCID.RaggedCaster] = true; player.npcTypeNoAggro[NPCID.RaggedCasterOpenCoat] = true; } player.maxMinions += 2; player.maxTurrets += 2; if (Soulcheck.GetValue("Pungent Eye Minion")) { player.AddBuff(mod.BuffType("PungentEyeball"), 5); } }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(); ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(); if (Soulcheck.GetValue("Conduit Shield")) { //conduit set bonus thoriumPlayer.conduitSet = true; thoriumPlayer.orbital = true; thoriumPlayer.orbitalRotation1 = Utils.RotatedBy(thoriumPlayer.orbitalRotation1, -0.10000000149011612, default(Vector2)); Lighting.AddLight(player.position, 0.2f, 0.35f, 0.7f); if ((player.velocity.X > 0f || player.velocity.X < 0f) && thoriumPlayer.circuitStage < 6) { thoriumPlayer.circuitCharge++; for (int i = 0; i < 1; i++) { int num = Dust.NewDust(new Vector2(player.position.X, player.position.Y) - player.velocity * 0.5f, player.width, player.height, 185, 0f, 0f, 100, default(Color), 1f); Main.dust[num].noGravity = true; } } } //pets //modPlayer.AddPet("Omega Pet", hideVisual, thorium.BuffType("OmegaBuff"), thorium.ProjectileType("Omega")); modPlayer.AddPet("I.F.O. Pet", hideVisual, thorium.BuffType("Identified"), thorium.ProjectileType("IFO")); }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //noble set bonus thoriumPlayer.bardBuffDuration += 300; //ring of unity thorium.GetItem("RingofUnity").UpdateAccessory(player, hideVisual); if (Soulcheck.GetValue("Mix Tape")) { //mix tape thoriumPlayer.mixtapeBool = true; } //molten woofer thoriumPlayer.bardRangeBoost += 450; for (int i = 0; i < 255; i++) { Player player2 = Main.player[i]; if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f) { thoriumPlayer.empowerFire = true; } } }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); if (Soulcheck.GetValue("Lodestone Resistance")) { //set bonus thoriumPlayer.orbital = true; thoriumPlayer.orbitalRotation3 = Utils.RotatedBy(thoriumPlayer.orbitalRotation3, -0.05000000074505806, default(Vector2)); if (player.statLife > player.statLifeMax * 0.75) { thoriumPlayer.thoriumEndurance += 0.1f; thoriumPlayer.lodestoneStage = 1; } if (player.statLife <= player.statLifeMax * 0.75 && player.statLife > player.statLifeMax * 0.5) { thoriumPlayer.thoriumEndurance += 0.2f; thoriumPlayer.lodestoneStage = 2; } if (player.statLife <= player.statLifeMax * 0.5) { thoriumPlayer.thoriumEndurance += 0.3f; thoriumPlayer.lodestoneStage = 3; } } //astro beetle husk thoriumPlayer.metalShieldMax = 25; }
private void Thorium(Player player, bool hideVisual) { ThoriumPlayer thoriumPlayer = (ThoriumPlayer)player.GetModPlayer(thorium, "ThoriumPlayer"); if (Soulcheck.GetValue("Proof of Avarice")) { //proof of avarice thoriumPlayer.avarice2 = true; } //shield timer++; if (timer >= 30) { int num = 16; if (thoriumPlayer.shieldHealth <= num) { thoriumPlayer.shieldHealthTimerStop = true; } if (thoriumPlayer.shieldHealth < num) { CombatText.NewText(new Rectangle((int)player.position.X, (int)player.position.Y, player.width, player.height), new Color(51, 255, 255), 1, false, true); thoriumPlayer.shieldHealth++; player.statLife++; } timer = 0; } player.GetModPlayer <FargoPlayer>(mod).AddPet("Coin Bag Pet", hideVisual, thorium.BuffType("DrachmaBuff"), thorium.ProjectileType("DrachmaBag")); }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.CalamityLoaded) { return; } CalamityPlayer modPlayer = player.GetModPlayer <CalamityPlayer>(calamity); player.ignoreWater = true; if (Soulcheck.GetValue("Omega Blue Tentacles")) { modPlayer.omegaBlueSet = true; if (modPlayer.omegaBlueCooldown > 0) { if (modPlayer.omegaBlueCooldown == 1) { for (int i = 0; i < 66; i++) { int num = Dust.NewDust(player.position, player.width, player.height, 20, 0f, 0f, 100, Color.Transparent, 2.6f); Main.dust[num].noGravity = true; Main.dust[num].noLight = true; Main.dust[num].fadeIn = 1f; Main.dust[num].velocity *= 6.6f; } } modPlayer.omegaBlueCooldown--; } if (modPlayer.omegaBlueCooldown > 1500) { modPlayer.omegaBlueHentai = true; int num2 = Dust.NewDust(player.position, player.width, player.height, 20, 0f, 0f, 100, Color.Transparent, 1.6f); Main.dust[num2].noGravity = true; Main.dust[num2].noLight = true; Main.dust[num2].fadeIn = 1f; Main.dust[num2].velocity *= 3f; } } //abyssal diving suit //because screw that slow speed out of water ech if (!Collision.DrownCollision(player.position, player.width, player.height, player.gravDir)) { player.runAcceleration *= 2.5f; player.maxRunSpeed *= 2.5f; } modPlayer.abyssalDivingSuit = true; if (hideVisual) { modPlayer.abyssalDivingSuitHide = true; } //lumenous amulet modPlayer.abyssalAmulet = true; modPlayer.lumenousAmulet = true; //reaper tooth necklace player.armorPenetration += 100; //aquatic emblem modPlayer.aquaticEmblem = true; }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //durasteel set bonus thoriumPlayer.thoriumEndurance += 0.12f; if (Soulcheck.GetValue("Incandescent Spark")) { thorium.GetItem("IncandescentSpark").UpdateAccessory(player, hideVisual); } if (Soulcheck.GetValue("Greedy Magnet")) { thorium.GetItem("GreedyMagnet").HoldItem(player); } //EoC Shield player.dash = 2; //spiked bracers player.thorns += 0.25f; if (Soulcheck.GetValue("Iron Shield")) { //shield player.GetModPlayer <FargoPlayer>(mod).IronEffect(); } }
public override void UpdateAccessory(Player player, bool hideVisual) { if (Soulcheck.GetValue("Sinister Icon")) { player.GetModPlayer <FargoPlayer>().SinisterIcon = true; } }
public override void AI() { if (Main.player[projectile.owner].active && !Main.player[projectile.owner].dead && Main.player[projectile.owner].GetModPlayer <FargoPlayer>().MutantSetBonus) { projectile.alpha = 0; } else { projectile.Kill(); return; } projectile.Center = Main.player[projectile.owner].Center; if (projectile.damage == 0) { projectile.damage = (int)(1700 * Main.player[projectile.owner].minionDamage); } projectile.timeLeft = 2; projectile.scale = (1f - projectile.alpha / 255f) * 0.5f; projectile.ai[0] += rotationPerTick; if (projectile.ai[0] > PI) { projectile.ai[0] -= 2f * PI; projectile.netUpdate = true; } projectile.frameCounter++; if (projectile.frameCounter >= 6) { projectile.frameCounter = 0; projectile.frame++; if (projectile.frame > 1) { projectile.frame = 0; } } if (++projectile.localAI[0] > 20) { projectile.localAI[0] = 0; if (projectile.owner == Main.myPlayer && Soulcheck.GetValue("Phantasmal Ring Minion")) { if (++projectile.localAI[1] >= 7) { projectile.localAI[1] = 0; } if (++projectile.localAI[1] >= 7) { projectile.localAI[1] = 0; } int target = HomeOnTarget(); if (target != -1) { Projectile.NewProjectile(projectile.Center, projectile.DirectionTo(Main.npc[target].Center), mod.ProjectileType("RingDeathray"), projectile.damage, 0f, projectile.owner, projectile.whoAmI, projectile.localAI[1]); } } } }
public override void UpdateAccessory(Player player, bool hideVisual) { FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(mod); //lightning modPlayer.CopperEnchant = true; //crit effect improved modPlayer.TerraForce = true; //crits modPlayer.TinEffect(); //lead poison modPlayer.LeadEnchant = true; //tungsten modPlayer.TungstenEnchant = true; //lava immune (obsidian) modPlayer.ObsidianEffect(); //EoC Shield player.dash = 2; if (Soulcheck.GetValue("Iron Shield")) { //shield modPlayer.IronEffect(); } //magnet if (Soulcheck.GetValue("Iron Magnet")) { modPlayer.IronEnchant = true; } }
private void Calamity(Player player) { CalamityPlayer modPlayer = player.GetModPlayer <CalamityPlayer>(calamity); //melee modPlayer.eGauntlet = true; //removing the extra boosts it adds because meme calamity player.meleeDamage -= .15f; player.meleeSpeed -= .15f; player.meleeCrit -= 5; if (Soulcheck.GetValue("Elemental Quiver")) { //range modPlayer.eQuiver = true; } //magic modPlayer.eTalisman = true; //summon modPlayer.statisBeltOfCurses = true; modPlayer.shadowMinions = true; modPlayer.tearMinions = true; //throw modPlayer.nanotech = true; }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //set bonus player.magmaStone = true; thoriumPlayer.magmaSet = true; //spring steps thorium.GetItem("SpringSteps").UpdateAccessory(player, hideVisual); if (Soulcheck.GetValue("Slag Stompers")) { //slag stompers timer++; if (timer > 20) { Projectile.NewProjectile(player.Center.X, player.Center.Y, 0.1f * Main.rand.Next(-25, 25), 2f, thorium.ProjectileType("SlagPro"), 20, 1f, Main.myPlayer, 0f, 0f); timer = 0; } } //molten spear tip thoriumPlayer.spearFlame = true; }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //durasteel effect if (player.statLife == player.statLifeMax2) { player.endurance += .9f; } if (Soulcheck.GetValue("Incandescent Spark")) { thorium.GetItem("IncandescentSpark").UpdateAccessory(player, hideVisual); } if (Soulcheck.GetValue("Greedy Magnet")) { thorium.GetItem("GreedyMagnet").HoldItem(player); } //ball n chain thoriumPlayer.ballnChain = true; //spiked bracers player.thorns += 0.25f; }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(); ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); if (Soulcheck.GetValue("Dread Speed")) { //dread set bonus player.moveSpeed += 0.8f; player.maxRunSpeed += 10f; player.runAcceleration += 0.05f; if (player.velocity.X > 0f || player.velocity.X < 0f) { player.meleeDamage += 0.35f; player.meleeCrit += 26; player.endurance += 0.1f; for (int i = 0; i < 2; i++) { int num = Dust.NewDust(new Vector2(player.position.X, player.position.Y) - player.velocity * 0.5f, player.width, player.height, 65, 0f, 0f, 0, default(Color), 1.75f); int num2 = Dust.NewDust(new Vector2(player.position.X, player.position.Y) - player.velocity * 0.5f, player.width, player.height, 75, 0f, 0f, 0, default(Color), 1f); Main.dust[num].noGravity = true; Main.dust[num2].noGravity = true; Main.dust[num].noLight = true; Main.dust[num2].noLight = true; } } } //crash boots thorium.GetItem("CrashBoots").UpdateAccessory(player, hideVisual); player.moveSpeed -= 0.15f; player.maxRunSpeed -= 1f; //cursed core thoriumPlayer.cursedCore = true; //corrupt woofer thoriumPlayer.bardRangeBoost += 450; for (int i = 0; i < 255; i++) { Player player2 = Main.player[i]; if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f) { thoriumPlayer.empowerCursed = true; } } //music player thoriumPlayer.musicPlayer = true; thoriumPlayer.MP3MovementSpeed = 2; //dragon thoriumPlayer.dragonSet = true; //dragon tooth necklace player.armorPenetration += 15; //wyvern pet modPlayer.AddPet("Wyvern Pet", hideVisual, thorium.BuffType("WyvernPetBuff"), thorium.ProjectileType("WyvernPet")); thoriumPlayer.wyvernPet = true; }
private void Thorium(Player player) { //general ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); thoriumPlayer.radiantBoost += 0.3f; thoriumPlayer.radiantSpeed -= 0.2f; thoriumPlayer.healingSpeed += 0.2f; thoriumPlayer.radiantCrit += 15; //support stash thoriumPlayer.supportSash = true; thoriumPlayer.quickBelt = true; //saving grace thoriumPlayer.crossHeal = true; thoriumPlayer.healBloom = true; //soul guard thoriumPlayer.graveGoods = true; for (int i = 0; i < 255; i++) { Player player2 = Main.player[i]; if (player2.active && player2 != player && Vector2.Distance(player2.Center, player.Center) < 400f) { player2.AddBuff(thorium.BuffType("AegisAura"), 30, false); } } //archdemon's curse thoriumPlayer.darkAura = true; //archangels heart thoriumPlayer.healBonus += 5; //medical bag thoriumPlayer.medicalAcc = true; //head mirror arrow if (Soulcheck.GetValue("Head Mirror")) { float num = 0f; int num2 = player.whoAmI; for (int i = 0; i < 255; i++) { if (Main.player[i].active && Main.player[i] != player && !Main.player[i].dead && (Main.player[i].statLifeMax2 - Main.player[i].statLife) > num) { num = (Main.player[i].statLifeMax2 - Main.player[i].statLife); num2 = i; } } if (player.ownedProjectileCounts[thorium.ProjectileType("HealerSymbol")] < 1) { Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, 0f, thorium.ProjectileType("HealerSymbol"), 0, 0f, player.whoAmI, 0f, 0f); } for (int j = 0; j < 1000; j++) { Projectile projectile = Main.projectile[j]; if (projectile.active && projectile.owner == player.whoAmI && projectile.type == thorium.ProjectileType("HealerSymbol")) { projectile.timeLeft = 2; projectile.ai[1] = num2; } } } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[BuffID.Electrified] = true; if (Soulcheck.GetValue("Saucer Minion")) { player.AddBuff(mod.BuffType("SaucerMinion"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[mod.BuffType("FlamesoftheUniverse")] = true; if (Soulcheck.GetValue("Rainbow Slime Minion")) { player.AddBuff(mod.BuffType("RainbowSlime"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.endurance += 0.05f; player.buffImmune[BuffID.Frozen] = true; if (Soulcheck.GetValue("Flocko Minion")) { player.AddBuff(mod.BuffType("SuperFlocko"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[mod.BuffType("Lethargic")] = true; player.GetModPlayer <FargoPlayer>().NecromanticBrew = true; if (Soulcheck.GetValue("Skeletron Arms Minion")) { player.AddBuff(mod.BuffType("SkeletronArms"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[BuffID.Venom] = true; player.lifeRegen += 2; if (Soulcheck.GetValue("Plantera Minion")) { player.AddBuff(mod.BuffType("PlanterasChild"), 2); } }
public override void UpdateAccessory(Player player, bool hideVisual) { player.buffImmune[mod.BuffType("LightningRod")] = true; player.GetModPlayer <FargoPlayer>().GroundStick = true; if (Soulcheck.GetValue("Probes Minion")) { player.AddBuff(mod.BuffType("Probes"), 2); } }
private void Thorium(Player player, bool hideVisual) { //bee booties if (Soulcheck.GetValue("Bee Booties")) { thorium.GetItem("BeeBoots").UpdateAccessory(player, hideVisual); player.moveSpeed -= 0.15f; player.maxRunSpeed -= 1f; } }
private void KillPet(Projectile projectile, Player player, int buff, bool enchant, string toggle) { FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(mod); if (player.FindBuffIndex(buff) == -1) { if (!(enchant || modPlayer.TerrariaSoul) || !Soulcheck.GetValue(toggle)) { projectile.Kill(); } } }
public override void UpdateAccessory(Player player, bool hideVisual) { if (!Fargowiltas.Instance.ThoriumLoaded) { return; } FargoPlayer modPlayer = player.GetModPlayer <FargoPlayer>(); ThoriumPlayer thoriumPlayer = player.GetModPlayer <ThoriumPlayer>(thorium); //includes bronze lightning modPlayer.SvartalfheimForce = true; //granite player.fireWalk = true; player.lavaImmune = true; player.buffImmune[24] = true; if (Soulcheck.GetValue("Eye of the Storm")) { //eye of the storm thorium.GetItem("EyeoftheStorm").UpdateAccessory(player, hideVisual); } //woofers thoriumPlayer.bardRangeBoost += 450; for (int i = 0; i < 255; i++) { Player player2 = Main.player[i]; if (player2.active && !player2.dead && Vector2.Distance(player2.Center, player.Center) < 450f) { thoriumPlayer.empowerGranite = true; thoriumPlayer.empowerMarble = true; } } //bronze //rebuttal thoriumPlayer.championShield = true; //durasteel mod.GetItem("DurasteelEnchant").UpdateAccessory(player, hideVisual); thoriumPlayer.thoriumEndurance -= 0.02f; //meme way to make it 10% //titan modPlayer.AllDamageUp(.1f); //crystal eye mask thoriumPlayer.critDamage += 0.1f; //abyssal shell thoriumPlayer.AbyssalShell = true; //conduit mod.GetItem("ConduitEnchant").UpdateAccessory(player, hideVisual); }