diff --git a/Buffs/Potions/ShadowBuff.cs b/Buffs/Potions/ShadowBuff.cs index 8cc7867fef..bb00e4c896 100644 --- a/Buffs/Potions/ShadowBuff.cs +++ b/Buffs/Potions/ShadowBuff.cs @@ -8,7 +8,7 @@ namespace CalamityMod.Buffs.Potions public override void SetStaticDefaults() { DisplayName.SetDefault("Shadow"); - Description.SetDefault("Rogue weapons spawn projectiles on hit, and stealth generation is boosted."); + Description.SetDefault("You are a shadow, rogue weapons spawn projectiles on hit, and stealth generation is boosted."); Main.debuff[Type] = false; Main.pvpBuff[Type] = true; Main.buffNoSave[Type] = false; @@ -17,6 +17,8 @@ namespace CalamityMod.Buffs.Potions public override void Update(Player player, ref int buffIndex) { player.Calamity().shadow = true; + if (player.yoraiz0rEye < 2) + player.yoraiz0rEye = 2; } } } diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index a9ad711658..01a9230036 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -544,6 +544,12 @@ namespace CalamityMod.CalPlayer drawInfo.GoreCache.Add(heart); } } + if (calamityPlayer.shadow && CalamityConfig.Instance.StealthInvisibility) + { + r *= 0f; + g *= 0f; + b *= 0f; + } } #endregion diff --git a/Items/Potions/ShadowPotion.cs b/Items/Potions/ShadowPotion.cs index 28b22ae349..bc2cbddb09 100644 --- a/Items/Potions/ShadowPotion.cs +++ b/Items/Potions/ShadowPotion.cs @@ -13,7 +13,8 @@ namespace CalamityMod.Items.Potions { SacrificeTotal = 20; DisplayName.SetDefault("Shadow Potion"); - Tooltip.SetDefault("Rogue weapons spawn projectiles on hit\n" + + Tooltip.SetDefault("Turns the player into a shadow with glowing eyes\n" + + "Rogue weapons spawn projectiles on hit\n" + "Stealth generation is increased by 8%\n" + "Visual effects can be disabled with the Stealth Invisibility config"); }