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

Method handler

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

Source from the content-addressed store, hash-verified

5726
5727 @staticmethod
5728 def handler(fit, ship, context, projectionRange, **kwargs):
5729 if 'ship' in context:
5730 skill = 'Caldari Battleship'
5731 penalties = False
5732 penaltyGroup = None
5733 else:
5734 skill = None
5735 penalties = True
5736 penaltyGroup = 'postPerc'
5737 fit.modules.filteredItemBoost(
5738 lambda mod: mod.item.group.name == 'Missile Launcher Torpedo', 'speed',
5739 ship.getModifiedItemAttr('shipBonus2CB'), skill=skill,
5740 stackingPenalties=penalties, penaltyGroup=penaltyGroup, **kwargs)
5741
5742
5743class Effect1910(BaseEffect):

Callers

nothing calls this directly

Calls 2

filteredItemBoostMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected