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

Method handler

eos/effects.py:31142–31149  ·  view source on GitHub ↗
(fit, module, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

31140
31141 @staticmethod
31142 def handler(fit, module, context, projectionRange, **kwargs):
31143 fit.ship.increaseItemAttr('mass', module.getModifiedItemAttr('massAddition'), **kwargs)
31144 speedBoost = module.getModifiedItemAttr('speedFactor')
31145 mass = fit.ship.getModifiedItemAttr('mass')
31146 thrust = module.getModifiedItemAttr('speedBoostFactor')
31147 # It is actually a postMul, see black hole speed interactions
31148 fit.ship.boostItemAttr('maxVelocity', speedBoost * thrust / mass,
31149 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
31150
31151
31152class Effect6732(BaseEffect):

Callers

nothing calls this directly

Calls 3

increaseItemAttrMethod · 0.80
boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected