mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 21:01:26 +02:00
Updated weapon damage to match tests
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user