# HG changeset patch # User Simon Cross # Date 1251927233 0 # Node ID c5f07479592e11ff6e07ae1e399030d44f5ea26d # Parent d986542873171815a3de1a7c5821b788162529bf Beware the ninja fox. diff -r d98654287317 -r c5f07479592e gamelib/gameboard.py --- a/gamelib/gameboard.py Wed Sep 02 21:31:24 2009 +0000 +++ b/gamelib/gameboard.py Wed Sep 02 21:33:53 2009 +0000 @@ -547,8 +547,10 @@ break if not skip: roll = random.randint(0, 10) - if roll < 9: + if roll < 8: fox = animal.Fox((x, y)) + elif roll < 9: + fox = animal.NinjaFox((x, y)) else: fox = animal.GreedyFox((x, y)) self.add_fox(fox)