diff --git a/CalPlayer/CalamityPlayerDrawEffects.cs b/CalPlayer/CalamityPlayerDrawEffects.cs index 88be2f9439..9863dc277c 100644 --- a/CalPlayer/CalamityPlayerDrawEffects.cs +++ b/CalPlayer/CalamityPlayerDrawEffects.cs @@ -118,7 +118,7 @@ namespace CalamityMod.CalPlayer break; } } - if (DoG != null && Main.mapStyle != 2) + if (DoG != null && Main.mapStyle != 2 && !Main.hideUI) { int drawCount = calamityPlayer.trippy ? 4 : 1; diff --git a/NPCs/CalClone/CalamitasClone.cs b/NPCs/CalClone/CalamitasClone.cs index b0c44f9306..7f96e910bc 100644 --- a/NPCs/CalClone/CalamitasClone.cs +++ b/NPCs/CalClone/CalamitasClone.cs @@ -386,6 +386,14 @@ namespace CalamityMod.NPCs.CalClone // Target variable Player player = Main.player[NPC.target]; + + //Invincible outside of arena + if (ArenaBox is not null) + { + if (!Collision.CheckAABBvAABBCollision(ArenaBox.TopLeft,ArenaBox.Size,player.position,player.Size)) + NPC.dontTakeDamage = true; + } + // Rotation Vector2 npcCenter = new Vector2(NPC.Center.X, NPC.position.Y + NPC.height - 59f); Vector2 lookAt = new Vector2(player.position.X - (player.width / 2), player.position.Y - (player.height / 2));