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

Method handler

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

Source from the content-addressed store, hash-verified

218
219 @staticmethod
220 def handler(fit, module, context, projectionRange, **kwargs):
221 amount = module.getModifiedItemAttr('armorDamageAmount')
222 speed = module.getModifiedItemAttr('duration') / 1000.0
223 rps = amount / speed
224 fit.extraAttributes.increase('armorRepair', rps, **kwargs)
225 fit.extraAttributes.increase('armorRepairPreSpool', rps, **kwargs)
226 fit.extraAttributes.increase('armorRepairFullSpool', rps, **kwargs)
227
228
229class Effect34(BaseEffect):

Callers

nothing calls this directly

Calls 2

increaseMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected