Files
pyfa/eos/effects/shipbonusshieldboostmi2.py
2014-05-31 22:13:59 +04:00

8 lines
331 B
Python

# Used by:
# Ship: Mastodon
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Industrial").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"shieldBonus", ship.getModifiedItemAttr("shipBonusMI2") * level)