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

Method handler

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

Source from the content-addressed store, hash-verified

39055
39056 @staticmethod
39057 def handler(fit, ship, context, projectionRange, **kwargs):
39058 for dmgType in ('em', 'thermal', 'kinetic', 'explosive'):
39059 fit.ship.boostItemAttr(
39060 'armor{}DamageResonance'.format(dmgType.capitalize()),
39061 ship.getModifiedItemAttr('shipBonusMC'),
39062 skill='Minmatar Cruiser', **kwargs)
39063 fit.ship.boostItemAttr(
39064 'shield{}DamageResonance'.format(dmgType.capitalize()),
39065 ship.getModifiedItemAttr('shipBonusMC'),
39066 skill='Minmatar Cruiser', **kwargs)
39067
39068
39069class Effect11413(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected