diff --git a/NPCs/Leviathan/Anahita.cs b/NPCs/Leviathan/Anahita.cs index cefee8892e..76acabd780 100644 --- a/NPCs/Leviathan/Anahita.cs +++ b/NPCs/Leviathan/Anahita.cs @@ -139,9 +139,6 @@ namespace CalamityMod.NPCs.Leviathan if (HasBegunSummoningLeviathan && CalamityGlobalNPC.LeviAndAna == -1) CalamityGlobalNPC.LeviAndAna = NPC.whoAmI; - // Set to false so she doesn't do it constantly - NPC.Calamity().canBreakPlayerDefense = false; - // Light Lighting.AddLight((int)(NPC.Center.X / 16f), (int)(NPC.Center.Y / 16f), 0f, 0.5f, 0.3f); @@ -313,6 +310,7 @@ namespace CalamityMod.NPCs.Leviathan NPC.dontTakeDamage = true; } + NPC.canDisplayBuffs = true; // Hover near the target, invisible if the Leviathan is present and not sufficiently injured. if ((phase3 || death) && WaitingForLeviathan && !Main.zenithWorld) { @@ -340,6 +338,7 @@ namespace CalamityMod.NPCs.Leviathan } NPC.dontTakeDamage = true; + NPC.canDisplayBuffs = false; if (NPC.ai[0] != -1f) { @@ -848,7 +847,6 @@ namespace CalamityMod.NPCs.Leviathan // Charge else if (NPC.ai[0] == 4f) { - NPC.Calamity().canBreakPlayerDefense = true; NPC.damage = (int)Math.Round(NPC.defDamage * 1.5); if (CalamityWorld.LegendaryMode && NPC.ai[1] % 5f == 0f)