Files
pyfa/eos/effects/shipbonusshieldboostamountmc2.py

10 lines
362 B
Python

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