Fixed first enemies type
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ class Player(pygame.sprite.Sprite):
|
|||||||
class Enemy(pygame.sprite.Sprite):
|
class Enemy(pygame.sprite.Sprite):
|
||||||
def setNextEnemyType(self, score):
|
def setNextEnemyType(self, score):
|
||||||
if score < 10:
|
if score < 10:
|
||||||
self.type = 2
|
self.type = 1
|
||||||
|
|
||||||
elif score < 25:
|
elif score < 25:
|
||||||
if random.randint(1, 100) < 95: self.type = 1
|
if random.randint(1, 100) < 95: self.type = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user