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

Method handler

eos/effects.py:33868–33874  ·  view source on GitHub ↗
(fit, ship, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

33866
33867 @staticmethod
33868 def handler(fit, ship, context, projectionRange, **kwargs):
33869 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Structure Guided Bomb Launcher',
33870 'speed', ship.getModifiedItemAttr('structureAoERoFRoleBonus'), **kwargs)
33871 for attr in ['duration', 'durationTargetIlluminationBurstProjector', 'durationWeaponDisruptionBurstProjector',
33872 'durationECMJammerBurstProjector', 'durationSensorDampeningBurstProjector', 'capacitorNeed']:
33873 fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == 'Structure Burst Projector',
33874 attr, ship.getModifiedItemAttr('structureAoERoFRoleBonus'), **kwargs)
33875
33876
33877class Effect7031(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected