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

Method handler

eos/effects.py:6873–6881  ·  view source on GitHub ↗
(fit, booster, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

6871
6872 @staticmethod
6873 def handler(fit, booster, context, projectionRange, **kwargs):
6874 for srcResType, tgtResType in (
6875 ('Em', 'Em'),
6876 ('Explosive', 'Explosive'),
6877 ('Kinetic', 'Kinetic'),
6878 ('Thermic', 'Thermal')
6879 ):
6880 fit.ship.boostItemAttr(f'armor{tgtResType}DamageResonance',
6881 booster.getModifiedItemAttr(f'passive{srcResType}DamageResistanceBonus'), **kwargs)
6882
6883
6884class Effect2297(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected