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

Method handler

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

Source from the content-addressed store, hash-verified

23148
23149 @staticmethod
23150 def handler(fit, module, context, projectionRange, **kwargs):
23151 # Set flag which is used to determine if ship is cloaked or not
23152 # This is used to apply cloak-only bonuses, like Black Ops' speed bonus
23153 # Doesn't apply to covops cloaks
23154 fit.extraAttributes['cloaked'] = True
23155 # Apply speed penalty
23156 fit.ship.multiplyItemAttr('maxVelocity', module.getModifiedItemAttr('maxVelocityModifier'), **kwargs)
23157
23158
23159class Effect5951(BaseEffect):

Callers

nothing calls this directly

Calls 2

multiplyItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected