Made Celestial Reaper not dumb

This commit is contained in:
DominicKarma42 committed 2019-10-11 19:53:17 -05:00
1 parent cf05d1f37f
commit c867e2f3ec
1 file changed
+1 -1
@@ -52,7 +52,7 @@ namespace CalamityMod.Projectiles.Rogue
}
}
}
public override bool? CanHitNPC(NPC target) => HomingCooldown == 0;
public override bool? CanHitNPC(NPC target) => HomingCooldown == 0 && !target.townNPC;
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
HomingCooldown = 25;