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

Method handler

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

Source from the content-addressed store, hash-verified

2633
2634 @staticmethod
2635 def handler(fit, ship, context, projectionRange, **kwargs):
2636 if 'ship' in context:
2637 skill = 'Caldari Battleship'
2638 penalties = False
2639 else:
2640 skill = None
2641 penalties = True
2642 fit.modules.filteredChargeBoost(
2643 lambda mod: mod.charge.requiresSkill('Cruise Missiles'), 'maxVelocity',
2644 ship.getModifiedItemAttr('shipBonusCB3'), skill=skill, stackingPenalties=penalties, **kwargs)
2645
2646
2647class Effect892(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected