[Feature] Improved accesability

This commit is contained in:
Pasha Bibko
2025-12-04 11:05:53 +00:00
parent df1a1c145e
commit caa7964bc8
4 changed files with 131 additions and 13 deletions

View File

@@ -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);
}