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

Method handler

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

Source from the content-addressed store, hash-verified

2252
2253 @staticmethod
2254 def handler(fit, ship, context, projectionRange, **kwargs):
2255 # TODO: investigate if we can live without such ifs or hardcoding
2256 # Viator doesn't have GI bonus
2257 if 'shipBonusGI' in fit.ship.item.attributes:
2258 bonusAttr = 'shipBonusGI'
2259 else:
2260 bonusAttr = 'shipBonusGI2'
2261 fit.ship.boostItemAttr('capacity', ship.getModifiedItemAttr(bonusAttr), skill='Gallente Hauler', **kwargs)
2262
2263
2264class Effect727(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected