def value(self): "The value of a damage is the combined dice roll with modifiers." return Die( self.default.number, multiplicator=self.default.multiplicator, modifier=self.default.modifier + calculate_modifier_sum(self._modifiers) )
def value(self): mods = filter(self._no_armor, self._modifiers) return self._initial + calculate_modifier_sum(mods)
def value(self): mods = [m for m in self._modifiers if m.source.id is not "dexterity"] return self._initial + calculate_modifier_sum(mods)