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

Method handler

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

Source from the content-addressed store, hash-verified

2656
2657 @staticmethod
2658 def handler(fit, ship, context, projectionRange, **kwargs):
2659 if 'ship' in context:
2660 skill = 'Caldari Battleship'
2661 penalties = False
2662 else:
2663 skill = None
2664 penalties = True
2665 fit.modules.filteredChargeBoost(
2666 lambda mod: mod.charge.requiresSkill('Torpedoes'), 'maxVelocity',
2667 ship.getModifiedItemAttr('shipBonusCB3'), skill=skill, stackingPenalties=penalties, **kwargs)
2668
2669
2670class Effect896(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredChargeBoostMethod · 0.80
requiresSkillMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected