public override void UpdateAccessory(Player player, bool hideVisual) { FargoSoulsPlayer modPlayer = player.GetModPlayer <FargoSoulsPlayer>(); modPlayer.EarthForce = true; //mythril if (player.GetToggleValue("Mythril")) { modPlayer.MythrilEnchantActive = true; if (!modPlayer.DisruptedFocus) { modPlayer.AttackSpeed += .2f; } } //shards modPlayer.CobaltEnchantItem = Item; //regen on hit, heals modPlayer.PalladiumEffect(); //fireballs and petals modPlayer.OrichalcumEffect(); AdamantiteEnchant.AdamantiteEffect(player, Item); TitaniumEnchant.TitaniumEffect(player, Item); }