dice.py: Renamed Dice.from_desc() to Dice.from_str()
Added some information to the readme
This commit is contained in:
parent
9d367b69b6
commit
423d6975b4
|
@ -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'])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user