From 8cdcd2755a6fedd2dc762a71af057d4b19ca1da7 Mon Sep 17 00:00:00 2001 From: Xyk Date: Thu, 21 May 2026 21:21:05 -0700 Subject: [PATCH] No Hitting NPCs --- Projectiles/Rogue/ElephantKillerThrown.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Rogue/ElephantKillerThrown.cs b/Projectiles/Rogue/ElephantKillerThrown.cs index 079f0486e1..e2dcbb4116 100644 --- a/Projectiles/Rogue/ElephantKillerThrown.cs +++ b/Projectiles/Rogue/ElephantKillerThrown.cs @@ -496,7 +496,7 @@ namespace CalamityMod.Projectiles.Rogue for (int index = 0; index < Main.npc.Length; index++) { NPC target = Main.npc[index]; - if (!target.dontTakeDamage && target.active && target.life > 0) + if (!target.dontTakeDamage && target.active && target.life > 0 && !target.townNPC) { float _ = float.NaN; bool collides = Collision.CheckAABBvLineCollision(target.Hitbox.TopLeft(), target.Hitbox.Size(), startPoint, endPoint, 10 * Projectile.scale, ref _);