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

Method handler

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

Source from the content-addressed store, hash-verified

40713
40714 @staticmethod
40715 def handler(fit, container, context, projectionRange, **kwargs):
40716 damageTypes = ('em', 'explosive', 'kinetic', 'thermal')
40717 for dmgType in damageTypes:
40718 fit.modules.filteredChargeBoost(
40719 lambda mod: mod.charge.requiresSkill('Auto-Targeting Missiles'),
40720 f'{dmgType}Damage', container.getModifiedItemAttr('shipBonusUFreighter3'),
40721 skill='Upwell Freighter', **kwargs)
40722
40723
40724class Effect12071(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected