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

Method handler

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

Source from the content-addressed store, hash-verified

2030
2031 @staticmethod
2032 def handler(fit, module, context, projectionRange, **kwargs):
2033 # Set flag which is used to determine if ship is cloaked or not
2034 # This is used to apply cloak-only bonuses, like Black Ops' speed bonus
2035 fit.extraAttributes['cloaked'] = True
2036 # Apply speed penalty
2037 fit.ship.multiplyItemAttr('maxVelocity', module.getModifiedItemAttr('maxVelocityModifier'),
2038 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
2039
2040
2041class Effect623(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected