From ae296dfdb010fc20126b7ee22b5fc7ca251ba8b1 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 9 Jun 2020 15:52:45 -0400 Subject: [PATCH] silva wings count for seraph tracers recipe --- NPCs/Astral/AstralachneaWall.cs | 4 ++-- NPCs/SunkenSea/EutrophicRay.cs | 4 ++-- Utilities/CalamityRecipes.cs | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) 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); }