From 423d6975b4689a18a9ee07edaa519f53c1b22ec9 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Fri, 23 Mar 2012 11:16:12 -0400 Subject: [PATCH] dice.py: Renamed Dice.from_desc() to Dice.from_str() Added some information to the readme --- battleman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battleman.py b/battleman.py index c48c054..4ab8153 100755 --- a/battleman.py +++ b/battleman.py @@ -60,7 +60,7 @@ class CombatGroup(): def roll_init(self): - d = Dice.from_desc('1d20+{}'.format(self.init_mod)) + d = Dice.from_str('1d20+{}'.format(self.init_mod)) self.set_init(d.roll()['total'])