Files
pyfa/eos/effects/caldarishipewcapacitorneedcf2.py
2014-07-30 21:23:27 -04:00

8 lines
337 B
Python

# Used by:
# Variations of ship: Griffin (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusCF2") * level)