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

Method handler

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

Source from the content-addressed store, hash-verified

27204
27205 @staticmethod
27206 def handler(fit, container, context, projectionRange, **kwargs):
27207 missileGroups = ('Structure Anti-Capital Missile', 'Structure Anti-Subcapital Missile')
27208 for srcAttr, tgtAttr in (
27209 ('aoeCloudSizeBonus', 'aoeCloudSize'),
27210 ('aoeVelocityBonus', 'aoeVelocity'),
27211 ('missileVelocityBonus', 'maxVelocity'),
27212 ('explosionDelayBonus', 'explosionDelay'),
27213 ):
27214 fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in missileGroups,
27215 tgtAttr, container.getModifiedItemAttr(srcAttr),
27216 stackingPenalties=True, **kwargs)
27217
27218
27219class Effect6449(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredChargeBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected