Updated weapon damage to match tests

This commit is contained in:
Ben Cook
2018-12-22 15:22:18 -05:00
parent 40b070d782
commit 86b9c77a27
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -598,7 +598,6 @@ class Character():
if isinstance(c, classes.Druid): if isinstance(c, classes.Druid):
c.wild_shapes = new_shapes c.wild_shapes = new_shapes
@classmethod @classmethod
def load(cls, character_file): def load(cls, character_file):
# Create a character from the character definition # Create a character from the character definition
+1 -1
View File
@@ -17,7 +17,7 @@ class Weapon():
def damage(self): def damage(self):
dam_str = str(self.base_damage) dam_str = str(self.base_damage)
if self.bonus_damage != 0: if self.bonus_damage != 0:
dam_str += '' + mod_str(self.bonus_damage) dam_str += ' ' + mod_str(self.bonus_damage)
return dam_str return dam_str
@property @property