MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / calculateModifiedAttributes

Method calculateModifiedAttributes

eos/saveddata/character.py:411–427  ·  view source on GitHub ↗
(self, fit, runTime)

Source from the content-addressed store, hash-verified

409 return 0
410
411 def calculateModifiedAttributes(self, fit, runTime):
412 if self.__suppressed: # or not self.learned - removed for GH issue 101
413 return
414
415 item = self.item
416 if item is None:
417 return
418
419 for effect in item.effects.values():
420 if effect.runTime == runTime and \
421 effect.isType("passive") and \
422 (not fit.isStructure or effect.isType("structure")) and \
423 effect.activeByDefault:
424 try:
425 effect.handler(fit, self, ("skill",), None, effect=effect)
426 except AttributeError:
427 continue
428
429 def clear(self):
430 self.__suppressed = False

Callers 1

Calls 3

valuesMethod · 0.80
isTypeMethod · 0.45
handlerMethod · 0.45

Tested by

no test coverage detected