Compare commits
2 Commits
d892b9f02f
...
23cdfb9565
Author | SHA1 | Date |
---|---|---|
theo@manjaro | 23cdfb9565 | |
theo@manjaro | 411cea6757 |
|
@ -16,7 +16,7 @@ class Spawner(BaseObject):
|
|||
|
||||
# Skin choosing
|
||||
self.skin = random.choice(skins["normal"])
|
||||
if random.randint(1,10)==1: # 1/10 chance to have a special
|
||||
if random.randint(1,6)==1: # Chance to have a special one
|
||||
if len(skins["specials"])>0:
|
||||
self.skin = random.choice(skins["specials"])
|
||||
self.fallsprite = game.sprite_lib["lemmings/"+self.skin+"/falling.png"]
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue