Why is the separation anxiety distance shorter than its attack distance???

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2023-08-28 12:26:33 -04:00
1 parent 85eee39f8c
commit 5dc47f4f1e
1 file changed
+1 -1
+1 -1
View File
@@ -393,7 +393,7 @@ namespace CalamityMod.Projectiles.Summon
if (sparkCounter < 0)
sparkCounter = 0;
float sepAnxietyDist = 500f;
float sepAnxietyDist = 1000f;
Vector2 playerDist = player.Center - Projectile.Center;
// Teleport to the player if too far
if (playerDist.Length() > 2000f)