Files
pyfa/eos/effects/shipbonusshieldboostmi2.py

10 lines
359 B
Python

# shipBonusShieldBoostMI2
#
# 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)