13 lines
443 B
Python
13 lines
443 B
Python
# roleBonusECMRange
|
|
#
|
|
# Used by:
|
|
# Ship: Griffin Navy Issue
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, src, context):
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "falloffEffectiveness",
|
|
src.getModifiedItemAttr("roleBonus"))
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "maxRange",
|
|
src.getModifiedItemAttr("roleBonus"))
|