This commit is contained in:
blitzmann
2017-07-11 02:29:21 -04:00
parent b55fcfaf04
commit d19486ce15
127 changed files with 383 additions and 113 deletions

View File

@@ -4208,12 +4208,14 @@ def upgrade(saveddata_engine):
# I can't figure out a way to get IN operator to work when supplying a list using a parameterized query. So I'm
# doing it the shitty way by formatting the SQL string. Don't do this kids!
fits = [x['fitID'] for x in saveddata_engine.execute("SELECT fitID FROM modules WHERE itemID IN ({}) GROUP BY fitID HAVING COUNT(*) = 5".format(','.join(oldItems)))]
fits = [x['fitID'] for x in saveddata_engine.execute(
"SELECT fitID FROM modules WHERE itemID IN ({}) GROUP BY fitID HAVING COUNT(*) = 5".format(','.join(oldItems)))]
for fitID in fits:
try:
# Gather a list of the old subsystems and their record IDs
modules = saveddata_engine.execute("SELECT * FROM modules WHERE itemID IN ({}) AND fitID = ?".format(','.join(oldItems)), (fitID,))
modules = saveddata_engine.execute(
"SELECT * FROM modules WHERE itemID IN ({}) AND fitID = ?".format(','.join(oldItems)), (fitID,))
oldModules = []
for mod in modules:

View File

@@ -48,8 +48,8 @@ mapper(Booster, boosters_table,
BoosterSideEffect,
backref="booster",
cascade='all, delete, delete-orphan'),
}
)
}
)
mapper(BoosterSideEffect, booster_side_effect_table)

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystems named like: Propulsion Interdiction Nullifier (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("agility", src.getModifiedItemAttr("agilityBonusAdd"))

View File

@@ -10,5 +10,6 @@ displayName = "Armor Capacity"
# Attribute that this effect targets
attr = "boosterArmorHPPenalty"
def handler(fit, booster, context):
fit.ship.boostItemAttr("armorHP", booster.getModifiedItemAttr(attr))

View File

@@ -12,6 +12,7 @@ displayName = "Armor Repair Amount"
# Attribute that this effect targets
attr = "boosterArmorRepairAmountPenalty"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit",
"armorDamageAmount", booster.getModifiedItemAttr(attr))

View File

@@ -11,5 +11,6 @@ displayName = "Cap Capacity"
# Attribute that this effect targets
attr = "boosterCapacitorCapacityPenalty"
def handler(fit, booster, context):
fit.ship.boostItemAttr("capacitorCapacity", booster.getModifiedItemAttr(attr))

View File

@@ -10,5 +10,6 @@ displayName = "Velocity"
# Attribute that this effect targets
attr = "boosterMaxVelocityPenalty"
def handler(fit, booster, context):
fit.ship.boostItemAttr("maxVelocity", booster.getModifiedItemAttr(attr))

View File

@@ -11,6 +11,7 @@ displayName = "Missile Explosion Radius"
# Attribute that this effect targets
attr = "boosterMissileAOECloudPenalty"
def handler(fit, booster, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"aoeCloudSize", booster.getModifiedItemAttr(attr))

View File

@@ -10,6 +10,7 @@ displayName = "Missile Explosion Velocity"
# Attribute that this effect targets
attr = "boosterAOEVelocityPenalty"
def handler(fit, booster, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"aoeVelocity", booster.getModifiedItemAttr(attr))

View File

@@ -11,6 +11,7 @@ displayName = "Missile Velocity"
# Attribute that this effect targets
attr = "boosterMissileVelocityPenalty"
def handler(fit, booster, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"maxVelocity", attr)

View File

@@ -10,5 +10,6 @@ displayName = "Shield Capacity"
# Attribute that this effect targets
attr = "boosterShieldCapacityPenalty"
def handler(fit, booster, context):
fit.ship.boostItemAttr("shieldCapacity", booster.getModifiedItemAttr(attr))

View File

@@ -11,6 +11,7 @@ displayName = "Turret Falloff"
# Attribute that this effect targets
attr = "boosterTurretFalloffPenalty"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"falloff", booster.getModifiedItemAttr(attr))

View File

@@ -12,6 +12,7 @@ displayName = "Turret Optimal Range"
# Attribute that this effect targets
attr = "boosterTurretOptimalRange"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"maxRange", booster.getModifiedItemAttr(attr))

View File

@@ -11,6 +11,7 @@ displayName = "Turret Tracking"
# Attribute that this effect targets
attr = "boosterTurretTrackingPenalty"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),
"trackingSpeed", booster.getModifiedItemAttr(attr))

View File

@@ -4,5 +4,7 @@
# Ships from group: Strategic Cruiser (4 of 4)
# Ships from group: Tactical Destroyer (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Astrometrics"), "cpu", src.getModifiedItemAttr("roleBonusT3ProbeCPU"))

View File

@@ -9,4 +9,3 @@ def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: True, "moduleRepairRate",
ship.getModifiedItemAttr("shipBonusStrategicCruiserAmarr2"),
skill="Amarr Strategic Cruiser")

View File

@@ -9,4 +9,3 @@ def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: True, "moduleRepairRate",
ship.getModifiedItemAttr("shipBonusStrategicCruiserCaldari2"),
skill="Caldari Strategic Cruiser")

View File

@@ -9,4 +9,3 @@ def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: True, "moduleRepairRate",
ship.getModifiedItemAttr("shipBonusStrategicCruiserGallente2"),
skill="Gallente Strategic Cruiser")

View File

@@ -9,4 +9,3 @@ def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: True, "moduleRepairRate",
ship.getModifiedItemAttr("shipBonusStrategicCruiserMinmatar2"),
skill="Minmatar Strategic Cruiser")

View File

@@ -5,5 +5,7 @@
# Subsystems named like: Core Electronic Efficiency Gate (2 of 2)
# Subsystems named like: Offensive Support Processor (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("maxLockedTargets", src.getModifiedItemAttr("maxLockedTargetsBonus"))

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Energy Parasitic Complex
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Neutralizer", "energyNeutralizerAmount",
src.getModifiedItemAttr("subsystemBonusAmarrCore2"), skill="Amarr Core Systems")

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystem: Legion Core - Augmented Antimatter Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("energyWarfareResistance", src.getModifiedItemAttr("subsystemBonusAmarrCore2"), skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Energy Parasitic Complex
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Nosferatu", "powerTransferAmount",
src.getModifiedItemAttr("subsystemBonusAmarrCore2"), skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusAmarrCore2"),
skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Energy Parasitic Complex
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in ("Energy Nosferatu", "Energy Neutralizer"), "overloadSelfDurationBonus",
src.getModifiedItemAttr("subsystemBonusAmarrCore3"), skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanResolution", src.getModifiedItemAttr("subsystemBonusAmarrCore3"),
skill="Amarr Core Systems")

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystem: Legion Core - Augmented Antimatter Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("capacitorCapacity", src.getModifiedItemAttr("subsystemBonusAmarrCore"), skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanRadarStrength", src.getModifiedItemAttr("subsystemBonusAmarrCore"),
skill="Amarr Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Defensive - Nanobot Injector
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadArmorDamageAmount",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Defensive - Augmented Plating
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadSelfDurationBonus",
src.getModifiedItemAttr("subsystemBonusAmarrDefensive2"), skill="Amarr Defensive Systems")

View File

@@ -4,6 +4,8 @@
# Subsystem: Legion Defensive - Covert Reconfiguration
# Subsystem: Legion Defensive - Nanobot Injector
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusAmarrDefensive3"),

View File

@@ -3,8 +3,14 @@
# Used by:
# Subsystem: Legion Offensive - Assault Optimization
type = "passive"
def handler(fit, src, context):
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"), "explosiveDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"), "kineticDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"), "emDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"), "thermalDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"),
"explosiveDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"),
"kineticDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"),
"emDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.item.requiresSkill("Missile Launcher Operation"),
"thermalDamage", src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed",
src.getModifiedItemAttr("subsystemBonusAmarrOffensive2"), skill="Amarr Offensive Systems")

View File

@@ -3,8 +3,14 @@
# Used by:
# Subsystem: Legion Offensive - Assault Optimization
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "hp", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "armorHP", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "shieldCapacity", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"), "damageMultiplier", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"hp", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"armorHP", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"shieldCapacity", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"damageMultiplier", src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "overloadSelfDurationBonus",
src.getModifiedItemAttr("subsystemBonusAmarrOffensive3"), skill="Amarr Offensive Systems")

View File

@@ -3,21 +3,38 @@
# Used by:
# Subsystem: Legion Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")

View File

@@ -3,6 +3,9 @@
# Used by:
# Subsystem: Legion Offensive - Assault Optimization
type = "passive"
def handler(fit, src, context):
groups = ("Missile Launcher Heavy", "Missile Launcher Rapid Light", "Missile Launcher Heavy Assault")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, "speed", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"speed", src.getModifiedItemAttr("subsystemBonusAmarrOffensive"), skill="Amarr Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Propulsion - Intercalated Nanofibers
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("agility", src.getModifiedItemAttr("subsystemBonusAmarrPropulsion2"),
skill="Amarr Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Propulsion - Wake Limiter
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
"signatureRadiusBonus", src.getModifiedItemAttr("subsystemBonusAmarrPropulsion2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Legion Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusAmarrPropulsion2"),
skill="Amarr Propulsion Systems")

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystem: Legion Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpCapacitorNeed", src.getModifiedItemAttr("subsystemBonusAmarrPropulsion"), skill="Amarr Propulsion Systems")

View File

@@ -3,8 +3,10 @@
# Used by:
# Subsystem: Tengu Core - Obfuscation Manifold
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanLadarStrengthBonus",
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanLadarStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanRadarStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Core - Augmented Graviton Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("energyWarfareResistance", src.getModifiedItemAttr("subsystemBonusCaldariCore2"),
skill="Caldari Core Systems")

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystem: Tengu Core - Electronic Efficiency Gate
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Core - Obfuscation Manifold
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "overloadECMStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore3"), skill="Caldari Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Core - Augmented Graviton Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("capacitorCapacity", src.getModifiedItemAttr("subsystemBonusCaldariCore"),
skill="Caldari Core Systems")

View File

@@ -3,5 +3,7 @@
# Used by:
# Subsystem: Tengu Core - Electronic Efficiency Gate
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanGravimetricStrength", src.getModifiedItemAttr("subsystemBonusCaldariCore"), skill="Caldari Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Defensive - Supplemental Screening
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Tactical Shield Manipulation"),
"overloadHardeningBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"),

View File

@@ -3,5 +3,9 @@
# Used by:
# Subsystem: Tengu Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"), stackingPenalties=True, skill="Caldari Defensive Systems")
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"),
"baseSensorStrength", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"),
skill="Caldari Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Defensive - Amplification Node
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive2"),

View File

@@ -4,6 +4,8 @@
# Subsystem: Tengu Defensive - Amplification Node
# Subsystem: Tengu Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"),
"overloadShieldBonus", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"),

View File

@@ -1,5 +1,9 @@
# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), stackingPenalties=True, skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxTractorVelocity", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",
"maxRange", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), stackingPenalties=True, skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",
"maxTractorVelocity", src.getModifiedItemAttr("subsystemBonusCaldariDefensive3"), skill="Caldari Defensive Systems")

View File

@@ -3,6 +3,9 @@
# Used by:
# Subsystem: Tengu Offensive - Accelerated Ejection Bay
type = "passive"
def handler(fit, src, context):
groups = ("Missile Launcher Heavy", "Missile Launcher Rapid Light", "Missile Launcher Heavy Assault")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, "speed", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"speed", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"),
"capacitorNeed", src.getModifiedItemAttr("subsystemBonusCaldariOffensive2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Offensive - Accelerated Ejection Bay
type = "passive"
def handler(fit, src, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles") or mod.charge.requiresSkill("Heavy Assault Missiles"),
"maxVelocity", src.getModifiedItemAttr("subsystemBonusCaldariOffensive3"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusCaldariOffensive3"),

View File

@@ -3,21 +3,38 @@
# Used by:
# Subsystem: Tengu Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusCaldariOffensive"), skill="Caldari Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Propulsion - Chassis Optimization
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("agility", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion2"),
skill="Caldari Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Propulsion - Fuel Catalyst
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner") or mod.item.requiresSkill("High Speed Maneuvering"),
"overloadSpeedFactorBonus", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion2"),
skill="Caldari Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Propulsion - Chassis Optimization
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxVelocity", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion"),
skill="Caldari Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Tengu Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpCapacitorNeed", src.getModifiedItemAttr("subsystemBonusCaldariPropulsion"),
skill="Caldari Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystems named like: Offensive Support Processor (4 of 4)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Leadership"), "power",
src.getModifiedItemAttr("subsystemCommandBurstFittingReduction"))

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Augmented Fusion Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("energyWarfareResistance", src.getModifiedItemAttr("subsystemBonusGallenteCore2"),
skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Electronic Efficiency Gate
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusGallenteCore2"),
skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Friction Extension Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", "maxRange",
src.getModifiedItemAttr("subsystemBonusGallenteCore2"), skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Friction Extension Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", "overloadRangeBonus",
src.getModifiedItemAttr("subsystemBonusGallenteCore3"), skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Augmented Fusion Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("rechargeRate", src.getModifiedItemAttr("subsystemBonusGallenteCore"),
skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Core - Electronic Efficiency Gate
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanMagnetometricStrength", src.getModifiedItemAttr("subsystemBonusGallenteCore"),
skill="Gallente Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Defensive - Nanobot Injector
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"), "overloadArmorDamageAmount",
src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Defensive - Augmented Plating
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadHardeningBonus",
src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength",
src.getModifiedItemAttr("subsystemBonusGallenteDefensive2"), skill="Gallente Defensive Systems")

View File

@@ -4,6 +4,8 @@
# Subsystem: Proteus Defensive - Covert Reconfiguration
# Subsystem: Proteus Defensive - Nanobot Injector
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"),

View File

@@ -1,5 +1,7 @@
# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange",
src.getModifiedItemAttr("subsystemBonusGallenteDefensive3"), skill="Gallente Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Offensive - Drone Synthesis Projector
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"maxVelocity", src.getModifiedItemAttr("subsystemBonusGallenteOffensive2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "capacitorNeed",
src.getModifiedItemAttr("subsystemBonusGallenteOffensive2"), skill="Gallente Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"), "overloadSelfDurationBonus",
src.getModifiedItemAttr("subsystemBonusGallenteOffensive3"), skill="Gallente Offensive Systems")

View File

@@ -3,21 +3,38 @@
# Used by:
# Subsystem: Proteus Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"), "warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff3Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff1Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff2Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"buffDuration", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command"),
"warfareBuff4Value", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"), skill="Gallente Offensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Offensive - Drone Synthesis Projector
type = "passive"
def handler(fit, src, context):
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Drones"),
"armorHP", src.getModifiedItemAttr("subsystemBonusGallenteOffensive"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Propulsion - Hyperspatial Optimization
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("agility", src.getModifiedItemAttr("subsystemBonusGallentePropulsion2"),
skill="Gallente Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Propulsion - Localized Injectors
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Afterburner") or mod.item.requiresSkill("High Speed Maneuvering"),
"overloadSpeedFactorBonus", src.getModifiedItemAttr("subsystemBonusGallentePropulsion2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpSpeedMultiplier", src.getModifiedItemAttr("subsystemBonusGallentePropulsion2"),
skill="Gallente Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Proteus Propulsion - Interdiction Nullifier
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("warpCapacitorNeed", src.getModifiedItemAttr("subsystemBonusGallentePropulsion"),
skill="Gallente Propulsion Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Augmented Nuclear Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("energyWarfareResistance", src.getModifiedItemAttr("subsystemBonusMinmatarCore2"),
skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("maxTargetRange", src.getModifiedItemAttr("subsystemBonusMinmatarCore2"),
skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Immobility Drivers
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"maxRange", src.getModifiedItemAttr("subsystemBonusMinmatarCore2"), skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanResolution", src.getModifiedItemAttr("subsystemBonusMinmatarCore3"),
skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Immobility Drivers
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"overloadRangeBonus", src.getModifiedItemAttr("subsystemBonusMinmatarCore3"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Augmented Nuclear Reactor
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("rechargeRate", src.getModifiedItemAttr("subsystemBonusMinmatarCore"),
skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Core - Dissolution Sequencer
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("scanLadarStrength", src.getModifiedItemAttr("subsystemBonusMinmatarCore"),
skill="Minmatar Core Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Defensive - Augmented Durability
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "overloadSelfDurationBonus",
src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Defensive - Adaptive Defense Node
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"), "baseSensorStrength",
src.getModifiedItemAttr("subsystemBonusMinmatarDefensive2"), skill="Minmatar Defensive Systems")

View File

@@ -4,6 +4,8 @@
# Subsystem: Loki Defensive - Adaptive Defense Node
# Subsystem: Loki Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"),
"overloadArmorDamageAmount", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"),
@@ -11,4 +13,3 @@ def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Shield Operation"),
"overloadSelfDurationBonus", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"),
skill="Minmatar Defensive Systems")

View File

@@ -1,5 +1,7 @@
# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange",
src.getModifiedItemAttr("subsystemBonusMinmatarDefensive3"), skill="Minmatar Defensive Systems")

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Defensive - Augmented Durability
type = "passive"
def handler(fit, src, context):
fit.ship.boostItemAttr("shieldCapacity", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive"),
skill="Minmatar Defensive Systems")

View File

@@ -4,6 +4,8 @@
# Subsystem: Loki Defensive - Adaptive Defense Node
# Subsystem: Loki Defensive - Covert Reconfiguration
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", src.getModifiedItemAttr("subsystemBonusMinmatarDefensive"),

View File

@@ -3,6 +3,8 @@
# Used by:
# Subsystem: Loki Offensive - Launcher Efficiency Configuration
type = "passive"
def handler(fit, container, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles") or mod.charge.requiresSkill("Heavy Assault Missiles"),
"maxVelocity", container.getModifiedItemAttr("subsystemBonusMinmatarOffensive"),

View File

@@ -3,9 +3,10 @@
# Used by:
# Subsystem: Loki Offensive - Launcher Efficiency Configuration
type = "passive"
def handler(fit, src, context):
groups = ("Missile Launcher Heavy", "Missile Launcher Rapid Light", "Missile Launcher Heavy Assault")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"speed", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive2"),
skill="Minmatar Offensive Systems")

View File

@@ -3,8 +3,9 @@
# Used by:
# Subsystem: Loki Offensive - Support Processor
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Emission Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"),
"capacitorNeed", src.getModifiedItemAttr("subsystemBonusMinmatarOffensive2"),
skill="Minmatar Offensive Systems")

Some files were not shown because too many files have changed in this diff Show More