From 703b8b3f9b8405ec2ca026559f9001e74f3e588c Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Fri, 13 Feb 2026 16:37:40 -0500 Subject: [PATCH] Fix Nanoblack lightspeed carves hitting more times than intended --- Projectiles/Rogue/NanoblackLightspeedCarve.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projectiles/Rogue/NanoblackLightspeedCarve.cs b/Projectiles/Rogue/NanoblackLightspeedCarve.cs index 9acff3332d..0c6a4f2a7f 100644 --- a/Projectiles/Rogue/NanoblackLightspeedCarve.cs +++ b/Projectiles/Rogue/NanoblackLightspeedCarve.cs @@ -13,6 +13,7 @@ namespace CalamityMod.Projectiles.Rogue public override LocalizedText DisplayName => this.GetLocalization(IsPerfect ? "Perfect" : "Standard"); internal const float TargetingRange = 600f; + internal const int MaxHits = 3; internal static float HitboxRadius = 60.0f; internal static float PlacementRandomness = 12f; @@ -55,7 +56,7 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) { - if (Projectile.timeLeft > Lifetime - HitboxDuration) + if (Projectile.timeLeft > Lifetime - HitboxDuration && Projectile.numHits < MaxHits) Projectile.penetrate++; }