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

Method handler

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

Source from the content-addressed store, hash-verified

36586
36587 @staticmethod
36588 def handler(fit, ship, context, projectionRange, **kwargs):
36589 for dmgType in ('em', 'kinetic', 'explosive', 'thermal'):
36590 fit.drones.filteredItemBoost(
36591 lambda drone: drone.item.requiresSkill('Drones'),
36592 f'{dmgType}Damage', ship.getModifiedItemAttr('roleBonus'), **kwargs)
36593
36594
36595class Effect8102(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected