diff --git a/Assets/Scripts/Spawner.cs b/Assets/Scripts/Spawner.cs index 93ec543..7608603 100644 --- a/Assets/Scripts/Spawner.cs +++ b/Assets/Scripts/Spawner.cs @@ -35,11 +35,11 @@ public class Spawner : MonoBehaviour var r = _rand.Next(100); if (r < 20) - Instantiate(StaticEnemy, new Vector3(_rightBorder, _rand.Next(1, 9), 0), Quaternion.identity); + Instantiate(StaticEnemy, new Vector3(_rightBorder, _rand.Next(3, 12), 0), Quaternion.identity); else if (r < 45) Instantiate(Toluen, new Vector3(_rightBorder, _rand.Next(1, 9), 0), Quaternion.identity); r = _rand.Next(100); if (r < 50) - Instantiate(BasicEnemy, new Vector3(_rightBorder, _rand.Next(1, 9), 0), Quaternion.identity); + Instantiate(BasicEnemy, new Vector3(_rightBorder, _rand.Next(1, 12), 0), Quaternion.identity); } }