Mercurial > touhou
diff pytouhou/game/game.py @ 192:5e84dfd153ab
Use the right “random” item drop function.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 27 Oct 2011 15:17:21 -0700 |
parents | dbe6b7b2d3fc |
children | 9f58e2a6e950 |
line wrap: on
line diff
--- a/pytouhou/game/game.py +++ b/pytouhou/game/game.py @@ -48,6 +48,9 @@ class Game(object): self.difficulty = difficulty self.boss = None self.spellcard = None + self.deaths_count = 0 + self.next_bonus = 0 + self.bonus_list = [0,0,1,0,1,0,0,1,1,1,0,0,0,1,1,0,1,0,1,0,1,0,1,0,1,0,0,1,1,1,0,2] self.prng = prng or Random() self.frame = 0