private void ChanceOfEncounter() { // float p = 50.0f/187.5f; float p = 10f; if (Random.Range(0f, 100f) <= p) { CanMove = false; SceneChange.Encounter(); } }
private void ChanceOfEncounter() { // float p = 50.0f/187.5f; float p = 10f; if (Random.Range(0f, 100f) <= p) { CanMove = false; SceneChange.Encounter(); } }