Files
pyfa/eos/effects/shipshieldboost1mbc1.py
2013-10-08 00:35:18 +04:00

9 lines
374 B
Python
Executable File

# Used by:
# Variations of ship: Cyclone (2 of 2)
# Ship: Sleipnir
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"shieldBonus", ship.getModifiedItemAttr("shipBonusMBC1") * level)