Made Celestial Reaper not dumb
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user