From 96e0dfab35dc0d65adf3d3f190f3115b2afd352a Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Fri, 30 Dec 2022 07:49:29 +0700 Subject: [PATCH] completely detached invis from shadow --- Items/CalamityGlobalItem.cs | 4 ---- Items/Potions/ShadowPotion.cs | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 2bbe0512cd..c6bee50ef8 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -837,10 +837,6 @@ namespace CalamityMod.Items { return player.ownedProjectileCounts[item.shoot] <= 0; } - if (item.type == ItemID.InvisibilityPotion && player.FindBuffIndex(ModContent.BuffType()) > -1) - { - return false; - } if ((item.type == ItemID.SuperAbsorbantSponge || item.type == ItemID.EmptyBucket) && modPlayer.ZoneAbyss) { return false; diff --git a/Items/Potions/ShadowPotion.cs b/Items/Potions/ShadowPotion.cs index a4783b208e..fe15a6c604 100644 --- a/Items/Potions/ShadowPotion.cs +++ b/Items/Potions/ShadowPotion.cs @@ -38,15 +38,15 @@ namespace CalamityMod.Items.Potions public override void AddRecipes() { - CreateRecipe(2). - AddIngredient(ItemID.InvisibilityPotion). + CreateRecipe(). + AddIngredient(ItemID.BottledWater). AddIngredient(). AddTile(TileID.Bottles). Register(); CreateRecipe(). AddIngredient(ItemID.BottledWater). - AddIngredient(20). + AddIngredient(10). AddTile(TileID.AlchemyTable). Register(); }