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

Method handler

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

Source from the content-addressed store, hash-verified

21129
21130 @staticmethod
21131 def handler(fit, ship, context, projectionRange, **kwargs):
21132 if 'ship' in context:
21133 skill = 'Caldari Battleship'
21134 penalties = False
21135 penaltyGroup = None
21136 else:
21137 skill = None
21138 penalties = True
21139 penaltyGroup = 'postPerc'
21140 fit.modules.filteredItemBoost(
21141 lambda mod: mod.item.group.name == 'Missile Launcher Rapid Heavy', 'speed',
21142 ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
21143 stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
21144
21145
21146class Effect5619(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected