Added default value for used parameter

This commit is contained in:
blitzmann
2014-05-27 16:29:22 -04:00
parent df046769ff
commit 1c84e9dc4b

View File

@@ -184,7 +184,7 @@ class ModifiedAttributeDict(collections.MutableMapping):
def iterAfflictions(self):
return self.__affectedBy.__iter__()
def __afflict(self, attributeName, operation, bonus, used):
def __afflict(self, attributeName, operation, bonus, used=True):
"""Add modifier to list of things affecting current item"""
# Do nothing if no fit is assigned
if self.fit is None: