DSO targets can now be placed anywhere on an enemy

This commit is contained in:
NycroV authored and Cameron Ewell committed 2022-06-10 00:19:09 -04:00
1 parent c6d6852ae7
commit b9493cf00a
1 file changed
-2
@@ -54,8 +54,6 @@ namespace CalamityMod.Projectiles.Typeless
if (BullseyeOffsetFromCenter == Vector2.Zero)
{
BullseyeOffsetFromCenter = Main.rand.NextVector2CircularEdge(Target.width, Target.height) * Main.rand.NextFloat(0.925f, 1f) * 0.54f;
if (BullseyeOffsetFromCenter.Y > 0f)
BullseyeOffsetFromCenter.Y *= -1f;
Projectile.netUpdate = true;
}
else