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

Method handler

eos/effects.py:31810–31817  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

31808
31809 @staticmethod
31810 def handler(fit, module, context, projectionRange, **kwargs):
31811 types = ('thermal', 'em', 'explosive', 'kinetic')
31812 for type in types:
31813 fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill('Rockets') or mod.charge.requiresSkill('Light Missiles'),
31814 '{}Damage'.format(type),
31815 1 / module.getModifiedItemAttr('modeDamageBonusPostDiv'),
31816 stackingPenalties=True,
31817 penaltyGroup='postDiv', **kwargs)
31818
31819
31820class Effect6800(BaseEffect):

Callers

nothing calls this directly

Calls 3

requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected