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

Method handler

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

Source from the content-addressed store, hash-verified

200
201 @staticmethod
202 def handler(fit, module, context, projectionRange, **kwargs):
203 amount = module.getModifiedItemAttr('structureDamageAmount')
204 speed = module.getModifiedItemAttr('duration') / 1000.0
205 fit.extraAttributes.increase('hullRepair', amount / speed, **kwargs)
206
207
208class Effect27(BaseEffect):

Callers

nothing calls this directly

Calls 2

increaseMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected