[Feature] Improved accesability
This commit is contained in:
@@ -128,7 +128,7 @@ public partial class OrbitalBehaviour
|
||||
m_LastGeneratedRing = ring.m_ID;
|
||||
m_TimeOfLastRingSpawn = Time.time;
|
||||
|
||||
m_CurrentRingAllowsSpawning = Random.Range(0, 5) != 0;
|
||||
m_CurrentRingAllowsSpawning = Random.Range(0, 25) != 0;
|
||||
if (!m_CurrentRingAllowsSpawning && m_AllowPlayerInput)
|
||||
{
|
||||
Instantiate(Settings.Instance.ModifierPrefab, m_ModiferParent.transform);
|
||||
@@ -225,7 +225,7 @@ public partial class OrbitalBehaviour
|
||||
orbital.OnOrbitalCollision(m_PlayerInstance);
|
||||
}
|
||||
|
||||
if (Random.Range(0, 20) == 0 && m_AllowPlayerInput && m_CurrentRingAllowsSpawning)
|
||||
if (Random.Range(0, 15) == 0 && m_AllowPlayerInput && m_CurrentRingAllowsSpawning)
|
||||
{
|
||||
Instantiate(Settings.Instance.EnemyPrefab, m_EnemyParent.transform);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user