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

Method handler

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

Source from the content-addressed store, hash-verified

108
109 @staticmethod
110 def handler(fit, module, context, projectionRange, **kwargs):
111 amount = module.getModifiedItemAttr('shieldBonus')
112 speed = module.getModifiedItemAttr('duration') / 1000.0
113 fit.extraAttributes.increase('shieldRepair', amount / speed, **kwargs)
114
115
116class Effect10(BaseEffect):

Calls 2

increaseMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected