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

Method handler

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

Source from the content-addressed store, hash-verified

30501
30502 @staticmethod
30503 def handler(fit, module, context, projectionRange, **kwargs):
30504 if 'projected' not in context:
30505 return
30506 if fit.ship.getModifiedItemAttr('disallowAssistance'):
30507 return
30508 if module.getModifiedItemAttr('maxRange', 0) < (projectionRange or 0):
30509 return
30510 bonus = module.getModifiedItemAttr('structureDamageAmount')
30511 duration = module.getModifiedItemAttr('duration') / 1000.0
30512 fit._hullRr.append((bonus, duration))
30513
30514
30515class Effect6690(BaseEffect):

Callers

nothing calls this directly

Calls 2

getModifiedItemAttrMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected