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

Method handler

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

Source from the content-addressed store, hash-verified

24053
24054 @staticmethod
24055 def handler(fit, ship, context, projectionRange, **kwargs):
24056 for damageType in ('em', 'explosive', 'kinetic', 'thermal'):
24057 fit.modules.filteredChargeBoost(
24058 lambda mod: mod.charge.requiresSkill('Rockets') or mod.charge.requiresSkill('Light Missiles'),
24059 '{0}Damage'.format(damageType), ship.getModifiedItemAttr('shipBonusRole7'), **kwargs)
24060
24061
24062class Effect6085(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected