Fix boosting as it related to projected fits (was boosting target fit rather than current fit)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user