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

Method handler

eos/effects.py:2473–2478  ·  view source on GitHub ↗
(fit, container, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

2471
2472 @staticmethod
2473 def handler(fit, container, context, projectionRange, **kwargs):
2474 level = container.level if 'skill' in context else 1
2475 penalized = False if 'skill' in context or 'implant' in context or 'booster' in context else True
2476 fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
2477 'explosionDelay', container.getModifiedItemAttr('maxFlightTimeBonus') * level,
2478 stackingPenalties=penalized, **kwargs)
2479
2480
2481class Effect804(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected