diff --git a/NPCs/Astral/AstralachneaWall.cs b/NPCs/Astral/AstralachneaWall.cs index c3a3cb7d01..3984620567 100644 --- a/NPCs/Astral/AstralachneaWall.cs +++ b/NPCs/Astral/AstralachneaWall.cs @@ -42,8 +42,8 @@ namespace CalamityMod.NPCs.Astral npc.knockBackResist = 0f; npc.noGravity = true; npc.value = Item.buyPrice(0, 0, 20, 0); - npc.buffImmune[20] = true; - npc.buffImmune[31] = false; + npc.buffImmune[BuffID.Poisoned] = true; + npc.buffImmune[BuffID.Confused] = false; npc.timeLeft = NPC.activeTime * 2; animationType = NPCID.BlackRecluseWall; banner = ModContent.NPCType(); diff --git a/NPCs/SunkenSea/EutrophicRay.cs b/NPCs/SunkenSea/EutrophicRay.cs index 015a2dfb45..a5e9279d71 100644 --- a/NPCs/SunkenSea/EutrophicRay.cs +++ b/NPCs/SunkenSea/EutrophicRay.cs @@ -134,11 +134,11 @@ namespace CalamityMod.NPCs.SunkenSea } npc.rotation = npc.velocity.Y * Rotation; - if ((double)npc.rotation < -0.1) + if (npc.rotation < -0.1f) { npc.rotation = -0.1f; } - if ((double)npc.rotation > 0.1) + if (npc.rotation > 0.1f) { npc.rotation = 0.1f; return; diff --git a/Utilities/CalamityRecipes.cs b/Utilities/CalamityRecipes.cs index 5ce5fa184c..ca8c0ebecb 100644 --- a/Utilities/CalamityRecipes.cs +++ b/Utilities/CalamityRecipes.cs @@ -1112,7 +1112,8 @@ namespace CalamityMod ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType() + ModContent.ItemType(), + ModContent.ItemType() }); RecipeGroup.RegisterGroup("WingsGroup", group); }