From 1c84e9dc4b6a1b51e0ce21f3f794d5b2d4577dc6 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 27 May 2014 16:29:22 -0400 Subject: [PATCH] Added default value for `used` parameter --- eos/modifiedAttributeDict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/modifiedAttributeDict.py b/eos/modifiedAttributeDict.py index f067d27ff..62811b614 100755 --- a/eos/modifiedAttributeDict.py +++ b/eos/modifiedAttributeDict.py @@ -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: