Fix boosting as it related to projected fits (was boosting target fit rather than current fit)

This commit is contained in:
blitzmann
2014-05-10 22:46:25 -04:00
parent 40c1bc8ae6
commit 60a786a6a2

View File

@@ -919,13 +919,13 @@ class Fit(object):
(effect.isType("active") and thing.state >= State.ACTIVE):
# Run effect, and get proper bonuses applied
try:
effect.handler(targetFit, thing, context)
effect.handler(self, thing, context)
except:
pass
else:
# Run effect, and get proper bonuses applied
try:
effect.handler(targetFit, thing, context)
effect.handler(self, thing, context)
except:
pass
for fit in self.projectedFits: