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

Method handler

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

Source from the content-addressed store, hash-verified

15578
15579 @staticmethod
15580 def handler(fit, ship, context, projectionRange, **kwargs):
15581 damageTypes = ('em', 'explosive', 'kinetic', 'thermal')
15582 for damageType in damageTypes:
15583 fit.modules.filteredChargeBoost(
15584 lambda mod: mod.charge.requiresSkill('Cruise Missiles') or mod.charge.requiresSkill('Torpedoes'),
15585 '{0}Damage'.format(damageType), ship.getModifiedItemAttr('eliteBonusViolatorsRole1'), **kwargs)
15586
15587
15588class Effect4636(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected