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

Method handler

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

Source from the content-addressed store, hash-verified

6893
6894 @staticmethod
6895 def handler(fit, ship, context, projectionRange, **kwargs):
6896 for srcResType, tgtResType in (
6897 ('Em', 'Em'),
6898 ('Explosive', 'Explosive'),
6899 ('Kinetic', 'Kinetic'),
6900 ('Thermic', 'Thermal')
6901 ):
6902 fit.ship.boostItemAttr(f'shield{tgtResType}DamageResonance',
6903 ship.getModifiedItemAttr(f'passive{srcResType}DamageResistanceBonus'), **kwargs)
6904
6905
6906class Effect2298(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected