diff --git a/eos/effects/elitebonuscovertopsshtdamage3.py b/eos/effects/elitebonuscovertopsshtdamage3.py index db5e75225..2a9628566 100644 --- a/eos/effects/elitebonuscovertopsshtdamage3.py +++ b/eos/effects/elitebonuscovertopsshtdamage3.py @@ -3,5 +3,8 @@ # Used by: # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("eliteBonusCovertOps3"), skill="Covert Ops") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "damageMultiplier", + src.getModifiedItemAttr("eliteBonusCovertOps3"), skill="Covert Ops") diff --git a/eos/effects/elitecovertopsbonusarmorrepamount4.py b/eos/effects/elitecovertopsbonusarmorrepamount4.py index dc585e4a6..00a63046b 100644 --- a/eos/effects/elitecovertopsbonusarmorrepamount4.py +++ b/eos/effects/elitecovertopsbonusarmorrepamount4.py @@ -3,5 +3,8 @@ # Used by: # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("eliteBonusCovertOps4"), skill="Covert Ops") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount", + src.getModifiedItemAttr("eliteBonusCovertOps4"), skill="Covert Ops") diff --git a/eos/effects/elitereconbonusarmorrepamount3.py b/eos/effects/elitereconbonusarmorrepamount3.py index 7fd43b65e..658f94883 100644 --- a/eos/effects/elitereconbonusarmorrepamount3.py +++ b/eos/effects/elitereconbonusarmorrepamount3.py @@ -3,5 +3,8 @@ # Used by: # Ship: Victor type = "passive" + + def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount", src.getModifiedItemAttr("eliteBonusReconShip3"), skill="Recon Ships") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "armorDamageAmount", + src.getModifiedItemAttr("eliteBonusReconShip3"), skill="Recon Ships") diff --git a/eos/effects/elitereconbonusmhtdamage1.py b/eos/effects/elitereconbonusmhtdamage1.py index 5a9e19f2a..3bb0f6833 100644 --- a/eos/effects/elitereconbonusmhtdamage1.py +++ b/eos/effects/elitereconbonusmhtdamage1.py @@ -3,5 +3,8 @@ # Used by: # Ship: Victor type = "passive" + + def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("eliteBonusReconShip1"), skill="Recon Ships") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), "damageMultiplier", + src.getModifiedItemAttr("eliteBonusReconShip1"), skill="Recon Ships") diff --git a/eos/effects/rolebonus2boosterpenaltyreduction.py b/eos/effects/rolebonus2boosterpenaltyreduction.py index e12f0930c..19645f49e 100644 --- a/eos/effects/rolebonus2boosterpenaltyreduction.py +++ b/eos/effects/rolebonus2boosterpenaltyreduction.py @@ -4,6 +4,8 @@ # Ship: Victor # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterMissileAOECloudPenalty", src.getModifiedItemAttr("shipBonusRole2")) fit.boosters.filteredItemBoost(lambda mod: mod.item.group.name == "Booster", "boosterCapacitorCapacityPenalty", src.getModifiedItemAttr("shipBonusRole2")) diff --git a/eos/effects/rolebonusbomblauncherpwgcpu3.py b/eos/effects/rolebonusbomblauncherpwgcpu3.py index d9d5795fe..e61365e2a 100644 --- a/eos/effects/rolebonusbomblauncherpwgcpu3.py +++ b/eos/effects/rolebonusbomblauncherpwgcpu3.py @@ -3,6 +3,8 @@ # Used by: # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Bomb Deployment"), "power", src.getModifiedItemAttr("shipBonusRole3")) fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Bomb Deployment"), "cpu", src.getModifiedItemAttr("shipBonusRole3")) diff --git a/eos/effects/rolebonusmhtdamage1.py b/eos/effects/rolebonusmhtdamage1.py index 48de3b332..bbec67fbd 100644 --- a/eos/effects/rolebonusmhtdamage1.py +++ b/eos/effects/rolebonusmhtdamage1.py @@ -3,5 +3,7 @@ # Used by: # Ship: Victor type = "passive" + + def handler(fit, src, context): fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole1")) diff --git a/eos/effects/rolebonustorprof1.py b/eos/effects/rolebonustorprof1.py index 18002dc3d..c87583d18 100644 --- a/eos/effects/rolebonustorprof1.py +++ b/eos/effects/rolebonustorprof1.py @@ -3,5 +3,7 @@ # Used by: # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Torpedo", "speed", src.getModifiedItemAttr("shipBonusRole1")) diff --git a/eos/effects/shipbonusshtfalloffgf1.py b/eos/effects/shipbonusshtfalloffgf1.py index 64d46e5bd..1173ac822 100644 --- a/eos/effects/shipbonusshtfalloffgf1.py +++ b/eos/effects/shipbonusshtfalloffgf1.py @@ -3,5 +3,8 @@ # Used by: # Ship: Virtuoso type = "passive" + + def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "falloff", src.getModifiedItemAttr("shipBonusGF"), skill="Gallente Frigate") + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), "falloff", + src.getModifiedItemAttr("shipBonusGF"), skill="Gallente Frigate") diff --git a/gui/builtinPreferenceViews/pyfaGeneralPreferences.py b/gui/builtinPreferenceViews/pyfaGeneralPreferences.py index 00b06202e..6f1acaab1 100644 --- a/gui/builtinPreferenceViews/pyfaGeneralPreferences.py +++ b/gui/builtinPreferenceViews/pyfaGeneralPreferences.py @@ -91,7 +91,8 @@ class PFGeneralPref(PreferenceView): priceSizer.Add(self.stDefaultSystem, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 5) self.stDefaultSystem.SetCursor(helpCursor) self.stDefaultSystem.SetToolTip( - wx.ToolTip('The source you choose will be tried first, but subsequent sources will be used if the preferred source fails. The system you choose is absolute and requests will not be made against other systems.')) + wx.ToolTip('The source you choose will be tried first, but subsequent sources will be used if the preferred ' + 'source fails. The system you choose is absolute and requests will not be made against other systems.')) self.chPriceSource = wx.Choice(panel, choices=sorted(Price.sources.keys())) self.chPriceSystem = wx.Choice(panel, choices=Price.systemsList.keys())