diff --git a/Projectiles/Weapons/ToclafaneMinion.cs b/Projectiles/Weapons/ToclafaneMinion.cs index d5119bf..cf35edd 100644 --- a/Projectiles/Weapons/ToclafaneMinion.cs +++ b/Projectiles/Weapons/ToclafaneMinion.cs @@ -128,7 +128,7 @@ public class ToclafaneMinion : ModProjectile { bool inRange = between < distanceFromTarget; bool lineOfSight = Collision.CanHitLine(Projectile.position, Projectile.width, Projectile.height, npc.position, npc.width, npc.height); - // Additional check for this specific minion behavior, otherwise it will stop attacking once it dashed through an enemy while flying though tiles afterwards + // Additional check for this specific minion behavior, otherwise it will stop attacking once it dashed through an enemy while flying though tiles afterward // The number depends on various parameters seen in the movement code below. Test different ones out until it works alright bool closeThroughWall = between < 100f; if (((!closest || !inRange) && foundTarget) || (!lineOfSight && !closeThroughWall)) continue; @@ -262,8 +262,6 @@ public class ToclafaneMinion : ModProjectile { break; } - break; - default: break; } }