dice.py: Renamed Dice.from_desc() to Dice.from_str()

Added some information to the readme
This commit is contained in:
Anna Rose 2012-03-23 11:16:12 -04:00
parent 9d367b69b6
commit 423d6975b4

View File

@ -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'])