MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / handler

Method handler

eos/effects.py:317–326  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

315
316 @staticmethod
317 def handler(fit, module, context, projectionRange, **kwargs):
318 # Set reload time to 10 seconds
319 module.reloadTime = 10000
320 # Make so that reloads are always taken into account during clculations
321 module.forceReload = True
322
323 if module.charge is None:
324 return
325 capAmount = module.getModifiedChargeAttr('capacitorBonus') or 0
326 module.itemModifiedAttributes['capacitorNeed'] = -capAmount
327
328
329class Effect50(BaseEffect):

Callers

nothing calls this directly

Calls 1

getModifiedChargeAttrMethod · 0.80

Tested by

no test coverage detected