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

Method handler

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

Source from the content-addressed store, hash-verified

8652
8653 @staticmethod
8654 def handler(fit, container, context, projectionRange, **kwargs):
8655 penalize = False if 'booster' in context else True
8656 for dmgType in ('em', 'kinetic', 'explosive', 'thermal'):
8657 fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill('Missile Launcher Operation'),
8658 '%sDamage' % dmgType,
8659 container.getModifiedItemAttr('missileDamageMultiplierBonus'),
8660 stackingPenalties=penalize, **kwargs)
8661
8662
8663class Effect2853(BaseEffect):

Callers

nothing calls this directly

Calls 3

requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected