Files
pyfa/eos/effects/shipbonusshieldtransfercapneed1.py
2013-08-21 01:07:27 +04:00

8 lines
330 B
Python
Executable File

# Used by:
# Ship: Osprey
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusCC") * level)