update effects and a few tox fixes

This commit is contained in:
blitzmann
2018-03-21 20:18:00 -04:00
parent 95ba18f8a9
commit a2f48e8944
36 changed files with 136 additions and 22 deletions

View File

@@ -1,4 +1,10 @@
# roleBonusFlagCruiserModuleFittingReduction
#
# Used by:
# Ship: Monitor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Propulsion Module", "Micro Jump Drive"),
"power", src.getModifiedItemAttr("flagCruiserFittingBonusPropMods"))