Files
pyfa/eos/effects/shipbonusshieldboostermb1a.py

10 lines
359 B
Python

# shipBonusShieldBoosterMB1a
#
# Used by:
# Ship: Maelstrom
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Booster",
"shieldBonus", ship.getModifiedItemAttr("shipBonusMB") * level)