Fixed demon to patron ratio issue.

This commit is contained in:
shakurass 2014-04-30 13:48:51 -06:00
commit 7559650d35
8 changed files with 12 additions and 4 deletions

View file

@ -18,7 +18,7 @@ public class Patron : MonoBehaviour {
else
Debug.Log("Cannot find GameController script.");
if (Random.value > 0.6 && gameController.currentNumberOfDemons < (gameController.maxPatrons / 4)) {
if (Random.value >= 0.75 || gameController.currentNumberOfDemons < (gameController.patronCounter / 4)) {
isDemon = true;
gameController.currentNumberOfDemons++;
}