Files
pyfa/eos/effects/rolebonusremotearmorrepairoptimalfalloff.py
2017-02-05 20:09:00 -08:00

15 lines
594 B
Python

# roleBonusRemoteArmorRepairOptimalFalloff
#
# Used by:
# Ship: Rabisu
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
"falloffEffectiveness",
src.getModifiedItemAttr("roleBonusRepairRange"))
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
"maxRange",
src.getModifiedItemAttr("roleBonusRepairRange"))