MCPcopy
hub / github.com/pyfa-org/Pyfa / handler

Method handler

eos/effects.py:1225–1230  ·  view source on GitHub ↗
(fit, container, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

1223
1224 @staticmethod
1225 def handler(fit, container, context, projectionRange, **kwargs):
1226 level = container.level if 'skill' in context else 1
1227 amount = container.getModifiedItemAttr('velocityBonus') or 0
1228 penalties = 'skill' not in context and 'implant' not in context and 'booster' not in context
1229 fit.ship.boostItemAttr('maxVelocity', amount * level,
1230 stackingPenalties=penalties, **kwargs)
1231
1232
1233class Effect395(BaseEffect):

Callers

nothing calls this directly

Calls 2

boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected