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

Method handler

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

Source from the content-addressed store, hash-verified

3329
3330 @staticmethod
3331 def handler(fit, ship, context, projectionRange, **kwargs):
3332 if 'ship' in context:
3333 skill = 'Caldari Cruiser'
3334 penalties = False
3335 else:
3336 skill = None
3337 penalties = True
3338 fit.modules.filteredChargeBoost(
3339 lambda mod: mod.charge.requiresSkill('Heavy Missiles'), 'maxVelocity',
3340 ship.getModifiedItemAttr('shipBonusCC2'), skill=skill, stackingPenalties=penalties, **kwargs)
3341
3342
3343class Effect1030(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected