From 943066cf73888205c310d7061fc9852fec3fc2fb Mon Sep 17 00:00:00 2001
From: Paul-Louis NECH <pln@algolia.com>
Date: Fri, 28 Oct 2016 13:00:28 -0400
Subject: [PATCH] Enemies: spawn to the top, clouds only after 3 heights

---
 Assets/Scripts/Spawner.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
     }
 }
--
libgit2 0.27.0