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

Method handler

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

Source from the content-addressed store, hash-verified

41049
41050 @staticmethod
41051 def handler(fit, ship, context, projectionRange, **kwargs):
41052 for damageType in ('em', 'explosive', 'kinetic', 'thermal'):
41053 fit.modules.filteredChargeBoost(
41054 lambda mod: mod.charge.requiresSkill('Rockets'), f'{damageType}Damage',
41055 ship.getModifiedItemAttr('shipBonusRole2'), **kwargs)
41056
41057
41058class Effect12191(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected