Files
pyfa/eos/effects/shipbonusremoterepairrangepiratefaction2.py
2018-03-20 22:49:40 -04:00

13 lines
517 B
Python

# shipBonusRemoteRepairRangePirateFaction2
#
# Used by:
# Ship: Nestor
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
"maxRange", ship.getModifiedItemAttr("shipBonusRole8"))
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
"falloffEffectiveness", ship.getModifiedItemAttr("shipBonusRole8"))