Merge pull request #336 from blitzmann/regSkills

Register skills when applying ship bonuses
This commit is contained in:
Ryan Holmes
2015-07-23 15:58:07 -04:00
788 changed files with 832 additions and 1599 deletions

View File

@@ -5,6 +5,5 @@
type = "passive" type = "passive"
runTime = "early" runTime = "early"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Transport Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cloaking Device", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cloaking Device",
"cpu", ship.getModifiedItemAttr("eliteIndustrialCovertCloakBonus") * level) "cpu", ship.getModifiedItemAttr("eliteIndustrialCovertCloakBonus"), skill="Transport Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Scorpion # Ship: Scorpion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM Burst", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM Burst",
"ecmBurstRange", ship.getModifiedItemAttr("shipBonusCB3") * level) "ecmBurstRange", ship.getModifiedItemAttr("shipBonusCB3"), skill="Caldari Battleship")

View File

@@ -6,6 +6,5 @@
# Ship: Rook # Ship: Rook
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusCC") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusCC"), skill="Caldari Cruiser")

View File

@@ -4,6 +4,5 @@
# Variations of ship: Griffin (2 of 2) # Variations of ship: Griffin (2 of 2)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusCF2") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusCF2"), skill="Caldari Frigate")

View File

@@ -4,6 +4,5 @@
# Ship: Scorpion # Ship: Scorpion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"falloff", ship.getModifiedItemAttr("shipBonusCB3") * level) "falloff", ship.getModifiedItemAttr("shipBonusCB3"), skill="Caldari Battleship")

View File

@@ -4,6 +4,5 @@
# Ship: Blackbird # Ship: Blackbird
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"falloff", ship.getModifiedItemAttr("shipBonusCC2") * level) "falloff", ship.getModifiedItemAttr("shipBonusCC2"), skill="Caldari Cruiser")

View File

@@ -4,6 +4,5 @@
# Ship: Scorpion # Ship: Scorpion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", ship.getModifiedItemAttr("shipBonusCB3") * level) "maxRange", ship.getModifiedItemAttr("shipBonusCB3"), skill="Caldari Battleship")

View File

@@ -4,6 +4,5 @@
# Ship: Blackbird # Ship: Blackbird
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", ship.getModifiedItemAttr("shipBonusCC2") * level) "maxRange", ship.getModifiedItemAttr("shipBonusCC2"), skill="Caldari Cruiser")

View File

@@ -4,8 +4,7 @@
# Ship: Scorpion # Ship: Scorpion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level
for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"): for sensorType in ("Gravimetric", "Ladar", "Magnetometric", "Radar"):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"scan{0}StrengthBonus".format(sensorType), "scan{0}StrengthBonus".format(sensorType),
ship.getModifiedItemAttr("shipBonusCB") * level) ship.getModifiedItemAttr("shipBonusCB"), skill="Caldari Battleship")

View File

@@ -5,9 +5,7 @@
# Ship: Archon # Ship: Archon
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"),
"maxRange", ship.getModifiedItemAttr("carrierAmarrBonus3") * level) "maxRange", ship.getModifiedItemAttr("carrierAmarrBonus3"), skill="Amarr Carrier")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"),
"powerTransferRange", ship.getModifiedItemAttr("carrierAmarrBonus3") * level) "powerTransferRange", ship.getModifiedItemAttr("carrierAmarrBonus3"), skill="Amarr Carrier")

View File

@@ -5,7 +5,6 @@
# Ship: Archon # Ship: Archon
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level
for resType in ("Em", "Explosive", "Kinetic", "Thermal"): for resType in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.boostItemAttr("armor{0}DamageResonance".format(resType), fit.ship.boostItemAttr("armor{0}DamageResonance".format(resType),
ship.getModifiedItemAttr("carrierAmarrBonus2") * level) ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier")

View File

@@ -5,6 +5,4 @@
# Ship: Archon # Ship: Archon
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierAmarrBonus1"), skill="Amarr Carrier")
amount = ship.getModifiedItemAttr("carrierAmarrBonus1")
fit.extraAttributes.increase("maxActiveDrones", amount * level)

View File

@@ -4,6 +4,5 @@
# Ship: Revenant # Ship: Revenant
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"),
"maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2") * level) "maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier")

View File

@@ -4,6 +4,5 @@
# Ship: Revenant # Ship: Revenant
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"),
"maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2") * level) "maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier")

View File

@@ -5,6 +5,5 @@
# Ship: Revenant # Ship: Revenant
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Carrier").level
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
"maxGroupActive", ship.getModifiedItemAttr("carrierAmarrBonus4") * level) "maxGroupActive", ship.getModifiedItemAttr("carrierAmarrBonus4"), skill="Amarr Carrier")

View File

@@ -5,6 +5,4 @@
# Ship: Wyvern # Ship: Wyvern
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierCaldariBonus1"), skill="Caldari Carrier")
amount = ship.getModifiedItemAttr("carrierCaldariBonus1")
fit.extraAttributes.increase("maxActiveDrones", amount * level)

View File

@@ -4,6 +4,5 @@
# Ship: Revenant # Ship: Revenant
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters") or drone.item.requiresSkill("Fighter Bombers"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters") or drone.item.requiresSkill("Fighter Bombers"),
"signatureRadius", ship.getModifiedItemAttr("carrierCaldariBonus1") * level) "signatureRadius", ship.getModifiedItemAttr("carrierCaldariBonus1"), skill="Caldari Carrier")

View File

@@ -4,6 +4,5 @@
# Ship: Wyvern # Ship: Wyvern
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
"maxGroupActive", ship.getModifiedItemAttr("carrierCaldariBonus4") * level) "maxGroupActive", ship.getModifiedItemAttr("carrierCaldariBonus4"), skill="Caldari Carrier")

View File

@@ -6,8 +6,7 @@
# Ship: Wyvern # Ship: Wyvern
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"),
"shieldTransferRange", ship.getModifiedItemAttr("carrierCaldariBonus3") * level) "shieldTransferRange", ship.getModifiedItemAttr("carrierCaldariBonus3"), skill="Caldari Carrier")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"),
"powerTransferRange", ship.getModifiedItemAttr("carrierCaldariBonus3") * level) "powerTransferRange", ship.getModifiedItemAttr("carrierCaldariBonus3"), skill="Caldari Carrier")

View File

@@ -5,7 +5,6 @@
# Ship: Wyvern # Ship: Wyvern
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Carrier").level
for resType in ("Em", "Explosive", "Kinetic", "Thermal"): for resType in ("Em", "Explosive", "Kinetic", "Thermal"):
fit.ship.boostItemAttr("shield{0}DamageResonance".format(resType), fit.ship.boostItemAttr("shield{0}DamageResonance".format(resType),
ship.getModifiedItemAttr("carrierCaldariBonus2") * level) ship.getModifiedItemAttr("carrierCaldariBonus2"), skill="Caldari Carrier")

View File

@@ -5,8 +5,7 @@
# Ship: Thanatos # Ship: Thanatos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"),
"shieldTransferRange", ship.getModifiedItemAttr("carrierGallenteBonus3") * level) "shieldTransferRange", ship.getModifiedItemAttr("carrierGallenteBonus3"), skill="Gallente Carrier")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"),
"maxRange", ship.getModifiedItemAttr("carrierGallenteBonus3") * level) "maxRange", ship.getModifiedItemAttr("carrierGallenteBonus3"), skill="Gallente Carrier")

View File

@@ -4,6 +4,5 @@
# Ship: Nyx # Ship: Nyx
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Carrier").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"),
"damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2") * level) "damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2"), skill="Gallente Carrier")

View File

@@ -5,6 +5,4 @@
# Ship: Thanatos # Ship: Thanatos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Carrier").level fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierGallenteBonus1"), skill="Gallente Carrier")
amount = ship.getModifiedItemAttr("carrierGallenteBonus1")
fit.extraAttributes.increase("maxActiveDrones", amount * level)

View File

@@ -5,6 +5,5 @@
# Ship: Thanatos # Ship: Thanatos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Carrier").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"),
"damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2") * level) "damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2"), skill="Gallente Carrier")

View File

@@ -4,6 +4,5 @@
# Ship: Nyx # Ship: Nyx
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Carrier").level
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
"maxGroupActive", ship.getModifiedItemAttr("carrierGallenteBonus4") * level) "maxGroupActive", ship.getModifiedItemAttr("carrierGallenteBonus4"), skill="Gallente Carrier")

View File

@@ -5,8 +5,7 @@
# Ship: Nidhoggur # Ship: Nidhoggur
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldBonus", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level) "shieldBonus", ship.getModifiedItemAttr("carrierMinmatarBonus2"), skill="Minmatar Carrier")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level) "armorDamageAmount", ship.getModifiedItemAttr("carrierMinmatarBonus2"), skill="Minmatar Carrier")

View File

@@ -5,8 +5,7 @@
# Ship: Nidhoggur # Ship: Nidhoggur
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"),
"shieldTransferRange", ship.getModifiedItemAttr("carrierMinmatarBonus3") * level) "shieldTransferRange", ship.getModifiedItemAttr("carrierMinmatarBonus3"), skill="Minmatar Carrier")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"),
"maxRange", ship.getModifiedItemAttr("carrierMinmatarBonus3") * level) "maxRange", ship.getModifiedItemAttr("carrierMinmatarBonus3"), skill="Minmatar Carrier")

View File

@@ -5,6 +5,4 @@
# Ship: Nidhoggur # Ship: Nidhoggur
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Carrier").level fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierMinmatarBonus1"), skill="Minmatar Carrier")
amount = ship.getModifiedItemAttr("carrierMinmatarBonus1")
fit.extraAttributes.increase("maxActiveDrones", amount * level)

View File

@@ -4,6 +4,5 @@
# Ship: Hel # Ship: Hel
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Carrier").level
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
"maxGroupActive", ship.getModifiedItemAttr("carrierMinmatarBonus4") * level) "maxGroupActive", ship.getModifiedItemAttr("carrierMinmatarBonus4"), skill="Minmatar Carrier")

View File

@@ -5,6 +5,5 @@
type = "passive" type = "passive"
runTime = "early" runTime = "early"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cloaking Device", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cloaking Device",
"cpu", ship.getModifiedItemAttr("eliteBonusCoverOps1") * level) "cpu", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")

View File

@@ -4,6 +4,5 @@
# Ship: Naglfar # Ship: Naglfar
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"),
"damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusM1") * level) "damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusM1"), skill="Minmatar Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ship: Naglfar # Ship: Naglfar
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"),
"speed", ship.getModifiedItemAttr("dreadnoughtShipBonusM3") * level) "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusM3"), skill="Minmatar Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ship: Moros # Ship: Moros
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"),
"damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusG1") * level) "damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusG1"), skill="Gallente Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ship: Moros # Ship: Moros
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"),
"speed", ship.getModifiedItemAttr("dreadnoughtShipBonusG2") * level) "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusG2"), skill="Gallente Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ship: Revelation # Ship: Revelation
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"),
"capacitorNeed", ship.getModifiedItemAttr("dreadnoughtShipBonusA1") * level) "capacitorNeed", ship.getModifiedItemAttr("dreadnoughtShipBonusA1"), skill="Amarr Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ship: Revelation # Ship: Revelation
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"),
"speed", ship.getModifiedItemAttr("dreadnoughtShipBonusA2") * level) "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusA2"), skill="Amarr Dreadnought")

View File

@@ -4,7 +4,6 @@
# Ship: Phoenix # Ship: Phoenix
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Dreadnought").level
for damageType in ("em", "thermal", "explosive", "kinetic"): for damageType in ("em", "thermal", "explosive", "kinetic"):
fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()), fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()),
ship.getModifiedItemAttr("dreadnoughtShipBonusC2") * level) ship.getModifiedItemAttr("dreadnoughtShipBonusC2"), skill="Caldari Dreadnought")

View File

@@ -4,6 +4,5 @@
# Ships from group: Exhumer (3 of 3) # Ships from group: Exhumer (3 of 3)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Ice Harvesting"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Ice Harvesting"),
"duration", ship.getModifiedItemAttr("eliteBonusBarge2") * level) "duration", ship.getModifiedItemAttr("eliteBonusBarge2"), skill="Exhumers")

View File

@@ -4,6 +4,5 @@
# Ships from group: Exhumer (3 of 3) # Ships from group: Exhumer (3 of 3)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
"duration", ship.getModifiedItemAttr("eliteBonusBarge2") * level) "duration", ship.getModifiedItemAttr("eliteBonusBarge2"), skill="Exhumers")

View File

@@ -4,7 +4,6 @@
# Ships from group: Exhumer (3 of 3) # Ships from group: Exhumer (3 of 3)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level
for damageType in ("em", "thermal", "explosive", "kinetic"): for damageType in ("em", "thermal", "explosive", "kinetic"):
fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()), fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()),
ship.getModifiedItemAttr("eliteBonusBarge1") * level) ship.getModifiedItemAttr("eliteBonusBarge1"), skill="Exhumers")

View File

@@ -4,6 +4,5 @@
# Ship: Cambion # Ship: Cambion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Light", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Light",
"speed", ship.getModifiedItemAttr("eliteBonusGunship1") * level) "speed", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")

View File

@@ -4,6 +4,5 @@
# Ship: Hawk # Ship: Hawk
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"maxVelocity", ship.getModifiedItemAttr("eliteBonusGunship1") * level) "maxVelocity", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")

View File

@@ -4,6 +4,5 @@
# Ship: Cambion # Ship: Cambion
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Rocket", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Rocket",
"speed", ship.getModifiedItemAttr("eliteBonusGunship1") * level) "speed", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")

View File

@@ -4,5 +4,4 @@
# Ship: Sin # Ship: Sin
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Black Ops").level fit.ship.boostItemAttr("agility", ship.getModifiedItemAttr("eliteBonusBlackOps1"), skill="Black Ops")
fit.ship.boostItemAttr("agility", ship.getModifiedItemAttr("eliteBonusBlackOps1") * level)

View File

@@ -5,5 +5,4 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
if fit.extraAttributes["cloaked"]: if fit.extraAttributes["cloaked"]:
level = fit.character.getSkill("Black Ops").level fit.ship.multiplyItemAttr("maxVelocity", ship.getModifiedItemAttr("eliteBonusBlackOps2"), skill="Black Ops")
fit.ship.multiplyItemAttr("maxVelocity", ship.getModifiedItemAttr("eliteBonusBlackOps2") * level)

View File

@@ -4,8 +4,7 @@
# Ship: Widow # Ship: Widow
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Black Ops").level
sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar") sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
for type in sensorTypes: for type in sensorTypes:
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM Burst", "scan{0}StrengthBonus".format(type), fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM Burst", "scan{0}StrengthBonus".format(type),
ship.getModifiedItemAttr("eliteBonusBlackOps1") * level) ship.getModifiedItemAttr("eliteBonusBlackOps1"), skill="Black Ops")

View File

@@ -4,8 +4,7 @@
# Ship: Widow # Ship: Widow
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Black Ops").level
sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar") sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
for type in sensorTypes: for type in sensorTypes:
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scan{0}StrengthBonus".format(type), fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scan{0}StrengthBonus".format(type),
ship.getModifiedItemAttr("eliteBonusBlackOps1") * level) ship.getModifiedItemAttr("eliteBonusBlackOps1"), skill="Black Ops")

View File

@@ -4,6 +4,5 @@
# Ship: Redeemer # Ship: Redeemer
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Black Ops").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),
"trackingSpeed", ship.getModifiedItemAttr("eliteBonusBlackOps1") * level) "trackingSpeed", ship.getModifiedItemAttr("eliteBonusBlackOps1"), skill="Black Ops")

View File

@@ -4,5 +4,4 @@
# Ship: Panther # Ship: Panther
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Black Ops").level fit.ship.boostItemAttr("maxVelocity", ship.getModifiedItemAttr("eliteBonusBlackOps1"), skill="Black Ops")
fit.ship.boostItemAttr("maxVelocity", ship.getModifiedItemAttr("eliteBonusBlackOps1") * level)

View File

@@ -4,6 +4,5 @@
# Ships from group: Command Ship (4 of 8) # Ships from group: Command Ship (4 of 8)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Warfare Specialist"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level) "commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3"), skill="Command Ships")

View File

@@ -4,5 +4,4 @@
# Ship: Damnation # Ship: Damnation
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level fit.ship.boostItemAttr("armorHP", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")
fit.ship.boostItemAttr("armorHP", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level)

View File

@@ -5,6 +5,5 @@
# Ship: Nighthawk # Ship: Nighthawk
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Heavy Assault", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Heavy Assault",
"speed", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "speed", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,8 +4,7 @@
# Ship: Damnation # Ship: Damnation
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
damageTypes = ("em", "explosive", "kinetic", "thermal") damageTypes = ("em", "explosive", "kinetic", "thermal")
for damageType in damageTypes: for damageType in damageTypes:
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
"{0}Damage".format(damageType), ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "{0}Damage".format(damageType), ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Eos # Ship: Eos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
"trackingSpeed", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "trackingSpeed", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Eos # Ship: Eos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"), fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Heavy Drone Operation"),
"maxVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "maxVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,8 +4,7 @@
# Ship: Damnation # Ship: Damnation
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
damageTypes = ("em", "explosive", "kinetic", "thermal") damageTypes = ("em", "explosive", "kinetic", "thermal")
for damageType in damageTypes: for damageType in damageTypes:
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"{0}Damage".format(damageType), ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "{0}Damage".format(damageType), ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -5,6 +5,5 @@
# Ship: Nighthawk # Ship: Nighthawk
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Heavy", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Heavy",
"speed", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "speed", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Astarte # Ship: Astarte
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
"falloff", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "falloff", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Vulture # Ship: Vulture
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
"maxRange", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "maxRange", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ships from group: Command Ship (4 of 8) # Ships from group: Command Ship (4 of 8)
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"),
"commandBonus", module.getModifiedItemAttr("eliteBonusCommandShips3") * level) "commandBonus", module.getModifiedItemAttr("eliteBonusCommandShips3"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ships from group: Command Ship (4 of 8) # Ships from group: Command Ship (4 of 8)
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Warfare Specialist"),
"commandBonusHidden", module.getModifiedItemAttr("eliteBonusCommandShips3") * level) "commandBonusHidden", module.getModifiedItemAttr("eliteBonusCommandShips3"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Absolution # Ship: Absolution
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Absolution # Ship: Absolution
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Energy Turret"),
"speed", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "speed", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Vulture # Ship: Vulture
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Astarte # Ship: Astarte
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
"speed", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "speed", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Eos # Ship: Eos
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Hybrid Turret"),
"trackingSpeed", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "trackingSpeed", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Sleipnir # Ship: Sleipnir
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips1") * level) "damageMultiplier", ship.getModifiedItemAttr("eliteBonusCommandShips1"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Sleipnir # Ship: Sleipnir
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Medium Projectile Turret"),
"falloff", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "falloff", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Nighthawk # Ship: Nighthawk
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
"aoeCloudSize", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "aoeCloudSize", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Claymore # Ship: Claymore
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Assault Missiles"),
"aoeVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "aoeVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Nighthawk # Ship: Nighthawk
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"aoeCloudSize", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "aoeCloudSize", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Claymore # Ship: Claymore
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"aoeVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2") * level) "aoeVelocity", ship.getModifiedItemAttr("eliteBonusCommandShips2"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ships from group: Command Ship (4 of 8) # Ships from group: Command Ship (4 of 8)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Siege Warfare Specialist"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Siege Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level) "commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ships from group: Command Ship (4 of 8) # Ships from group: Command Ship (4 of 8)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Command Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Warfare Specialist"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Warfare Specialist"),
"commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3") * level) "commandBonus", ship.getModifiedItemAttr("eliteBonusCommandShips3"), skill="Command Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Purifier # Ship: Purifier
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
"emDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1") * level) "emDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")

View File

@@ -4,6 +4,5 @@
# Ship: Hound # Ship: Hound
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
"explosiveDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1") * level) "explosiveDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")

View File

@@ -4,6 +4,5 @@
# Ship: Manticore # Ship: Manticore
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
"kineticDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1") * level) "kineticDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")

View File

@@ -4,6 +4,5 @@
# Ship: Nemesis # Ship: Nemesis
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"), fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Bomb Deployment"),
"thermalDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1") * level) "thermalDamage", ship.getModifiedItemAttr("eliteBonusCoverOps1"), skill="Covert Ops")

View File

@@ -4,6 +4,5 @@
# Ships from group: Covert Ops (5 of 5) # Ships from group: Covert Ops (5 of 5)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Covert Ops").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe", fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
"baseSensorStrength", ship.getModifiedItemAttr("eliteBonusCoverOps2") * level) "baseSensorStrength", ship.getModifiedItemAttr("eliteBonusCoverOps2"), skill="Covert Ops")

View File

@@ -4,5 +4,4 @@
# Ship: Kitsune # Ship: Kitsune
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level fit.ship.boostItemAttr("capacitorCapacity", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2"), skill="Electronic Attack Ships")
fit.ship.boostItemAttr("capacitorCapacity", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2") * level)

View File

@@ -4,6 +4,5 @@
# Ship: Kitsune # Ship: Kitsune
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level) "maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1"), skill="Electronic Attack Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Sentinel # Ship: Sentinel
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Destabilizer", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Destabilizer",
"energyDestabilizationRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level) "energyDestabilizationRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1"), skill="Electronic Attack Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Sentinel # Ship: Sentinel
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Vampire",
"powerTransferRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level) "powerTransferRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1"), skill="Electronic Attack Ships")

View File

@@ -4,5 +4,4 @@
# Ship: Sentinel # Ship: Sentinel
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level fit.ship.boostItemAttr("rechargeRate", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2"), skill="Electronic Attack Ships")
fit.ship.boostItemAttr("rechargeRate", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Hyena # Ship: Hyena
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level fit.ship.boostItemAttr("signatureRadius", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2"), skill="Electronic Attack Ships")
fit.ship.boostItemAttr("signatureRadius", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2") * level)

View File

@@ -4,6 +4,5 @@
# Ship: Hyena # Ship: Hyena
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level) "maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1"), skill="Electronic Attack Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Keres # Ship: Keres
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip2"), skill="Electronic Attack Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Keres # Ship: Keres
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Electronic Attack Ships").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler",
"maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1") * level) "maxRange", ship.getModifiedItemAttr("eliteBonusElectronicAttackShip1"), skill="Electronic Attack Ships")

View File

@@ -4,6 +4,5 @@
# Ship: Prospect # Ship: Prospect
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Expedition Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"),
"miningAmount", module.getModifiedItemAttr("eliteBonusExpedition1") * level) "miningAmount", module.getModifiedItemAttr("eliteBonusExpedition1"), skill="Expedition Frigates")

View File

@@ -4,5 +4,4 @@
# Ship: Prospect # Ship: Prospect
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Expedition Frigates").level fit.ship.boostItemAttr("signatureRadius", ship.getModifiedItemAttr("eliteBonusExpedition2"), skill="Expedition Frigates")
fit.ship.boostItemAttr("signatureRadius", ship.getModifiedItemAttr("eliteBonusExpedition2") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Vengeance # Ship: Vengeance
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.boostItemAttr("armorEmDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
fit.ship.boostItemAttr("armorEmDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Vengeance # Ship: Vengeance
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.boostItemAttr("armorExplosiveDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
fit.ship.boostItemAttr("armorExplosiveDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Vengeance # Ship: Vengeance
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.boostItemAttr("armorKineticDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
fit.ship.boostItemAttr("armorKineticDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Vengeance # Ship: Vengeance
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.boostItemAttr("armorThermalDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")
fit.ship.boostItemAttr("armorThermalDamageResonance", ship.getModifiedItemAttr("eliteBonusGunship1") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Vengeance # Ship: Vengeance
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.boostItemAttr("rechargeRate", ship.getModifiedItemAttr("eliteBonusGunship2"), skill="Assault Frigates")
fit.ship.boostItemAttr("rechargeRate", ship.getModifiedItemAttr("eliteBonusGunship2") * level)

View File

@@ -4,5 +4,4 @@
# Ship: Ishkur # Ship: Ishkur
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level fit.ship.increaseItemAttr("droneCapacity", ship.getModifiedItemAttr("eliteBonusGunship2"), skill="Assault Frigates")
fit.ship.increaseItemAttr("droneCapacity", ship.getModifiedItemAttr("eliteBonusGunship2") * level)

View File

@@ -4,6 +4,5 @@
# Ship: Harpy # Ship: Harpy
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusGunship2") * level) "damageMultiplier", ship.getModifiedItemAttr("eliteBonusGunship2"), skill="Assault Frigates")

View File

@@ -6,6 +6,5 @@
# Ship: Ishkur # Ship: Ishkur
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"maxRange", ship.getModifiedItemAttr("eliteBonusGunship1") * level) "maxRange", ship.getModifiedItemAttr("eliteBonusGunship1"), skill="Assault Frigates")

View File

@@ -4,6 +4,5 @@
# Ship: Enyo # Ship: Enyo
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"trackingSpeed", ship.getModifiedItemAttr("eliteBonusGunship2") * level) "trackingSpeed", ship.getModifiedItemAttr("eliteBonusGunship2"), skill="Assault Frigates")

View File

@@ -4,6 +4,5 @@
# Ship: Retribution # Ship: Retribution
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Assault Frigates").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusGunship2") * level) "damageMultiplier", ship.getModifiedItemAttr("eliteBonusGunship2"), skill="Assault Frigates")

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