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

Method handler

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

Source from the content-addressed store, hash-verified

2309
2310 @staticmethod
2311 def handler(fit, ship, context, projectionRange, **kwargs):
2312 # TODO: investigate if we can live without such ifs or hardcoding
2313 # Viator doesn't have GI bonus
2314 if 'shipBonusGI' in fit.ship.item.attributes:
2315 bonusAttr = 'shipBonusGI'
2316 else:
2317 bonusAttr = 'shipBonusGI2'
2318 fit.ship.boostItemAttr('maxVelocity', ship.getModifiedItemAttr(bonusAttr), skill='Gallente Hauler', **kwargs)
2319
2320
2321class Effect730(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected