forked from ayte/PinmikPanik
Updated monster spawn rate
This commit is contained in:
parent
0578100e92
commit
f9686a6fed
@ -16,9 +16,12 @@ class Spawner(BaseObject):
|
||||
|
||||
# Skin choosing
|
||||
self.skin = random.choice(skins["normal"])
|
||||
if random.randint(1,6)==1: # Chance to have a special one
|
||||
if random.randint(1,8)==1: # Chance to have a special one
|
||||
if len(skins["specials"])>0:
|
||||
self.skin = random.choice(skins["specials"])
|
||||
if "monster" in skins["specials"]:
|
||||
if random.randint(1,7)==1: # Chance to force a monster
|
||||
self.skin = "monster"
|
||||
self.fallsprite = game.sprite_lib["lemmings/"+self.skin+"/falling.png"]
|
||||
|
||||
# Depth updating based on position
|
||||
|
Loading…
Reference in New Issue
Block a user