From 4a4fc2ceefd9b623347fad5523928d23ee57c5a1 Mon Sep 17 00:00:00 2001 From: ZavarskiTheRealOne Date: Fri, 2 Jan 2026 23:24:37 +0800 Subject: [PATCH] Contaminated Bile now has proper directional knockback --- Projectiles/Rogue/BileExplosion.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Projectiles/Rogue/BileExplosion.cs b/Projectiles/Rogue/BileExplosion.cs index 7aaf5f399e..d5dd26b9c3 100644 --- a/Projectiles/Rogue/BileExplosion.cs +++ b/Projectiles/Rogue/BileExplosion.cs @@ -25,6 +25,10 @@ namespace CalamityMod.Projectiles.Rogue Projectile.usesLocalNPCImmunity = true; Projectile.localNPCHitCooldown = 25; } + public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) + { + modifiers.HitDirectionOverride = (Projectile.Center.X < target.Center.X).ToDirectionInt(); + } public override void AI() {