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

Method handler

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

Source from the content-addressed store, hash-verified

5699
5700 @staticmethod
5701 def handler(fit, ship, context, projectionRange, **kwargs):
5702 if 'ship' in context:
5703 skill = 'Caldari Battleship'
5704 penalties = False
5705 penaltyGroup = None
5706 else:
5707 skill = None
5708 penalties = True
5709 penaltyGroup = 'postPerc'
5710 fit.modules.filteredItemBoost(
5711 lambda mod: mod.item.group.name == 'Missile Launcher Cruise', 'speed',
5712 ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
5713 stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
5714
5715
5716class Effect1886(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected