diff --git a/eos/effects/advanceddroneinterfacingmaxgroupdcuskilllevel.py b/eos/effects/advanceddroneinterfacingmaxgroupdcuskilllevel.py deleted file mode 100644 index 48340f414..000000000 --- a/eos/effects/advanceddroneinterfacingmaxgroupdcuskilllevel.py +++ /dev/null @@ -1,10 +0,0 @@ -# advancedDroneInterfacingMaxGroupDCUSkillLevel -# -# Used by: -# Skill: Advanced Drone Interfacing -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Fighter Support Unit", - "maxGroupActive", skill.level) diff --git a/eos/effects/armoredsquadroncommand.py b/eos/effects/armoredsquadroncommand.py deleted file mode 100644 index d0d6dde36..000000000 --- a/eos/effects/armoredsquadroncommand.py +++ /dev/null @@ -1,11 +0,0 @@ -# armoredSquadronCommand -# -# Used by: -# Skill: Armored Command Specialist -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command Specialist"), - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/armoredwarfaremindlink.py b/eos/effects/armoredwarfaremindlink.py deleted file mode 100644 index 629b3d388..000000000 --- a/eos/effects/armoredwarfaremindlink.py +++ /dev/null @@ -1,12 +0,0 @@ -# armoredWarfareMindlink -# -# Used by: -# Implant: Armored Command Mindlink -# Implant: Federation Navy Warfare Mindlink -# Implant: Imperial Navy Warfare Mindlink -type = "passive" - - -def handler(fit, implant, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Armored Command Specialist"), - "commandBonus", implant.getModifiedItemAttr("mindlinkBonus")) \ No newline at end of file diff --git a/eos/effects/armortankinggang.py b/eos/effects/armortankinggang.py deleted file mode 100644 index 386cb64ee..000000000 --- a/eos/effects/armortankinggang.py +++ /dev/null @@ -1,11 +0,0 @@ -# armorTankingGang -# -# Used by: -# Skill: Armored Command -type = "gang" -gangBoost = "armorHP" -gangBonus = "armorHpBonus" - - -def handler(fit, skill, context): - fit.ship.boostItemAttr(gangBoost, skill.getModifiedItemAttr(gangBonus) * skill.level) diff --git a/eos/effects/carrieramarrarmorenergytransferrange3.py b/eos/effects/carrieramarrarmorenergytransferrange3.py deleted file mode 100644 index a7d18a697..000000000 --- a/eos/effects/carrieramarrarmorenergytransferrange3.py +++ /dev/null @@ -1,13 +0,0 @@ -# carrierAmarrArmor&EnergyTransferRange3 -# -# Used by: -# Ship: Aeon -# Ship: Archon -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "maxRange", ship.getModifiedItemAttr("carrierAmarrBonus3"), skill="Amarr Carrier") - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "maxRange", ship.getModifiedItemAttr("carrierAmarrBonus3"), skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrarmorresist2.py b/eos/effects/carrieramarrarmorresist2.py deleted file mode 100644 index c6b8781f9..000000000 --- a/eos/effects/carrieramarrarmorresist2.py +++ /dev/null @@ -1,12 +0,0 @@ -# carrierAmarrArmorResist2 -# -# Used by: -# Ship: Aeon -# Ship: Archon -type = "passive" - - -def handler(fit, ship, context): - for resType in ("Em", "Explosive", "Kinetic", "Thermal"): - fit.ship.boostItemAttr("armor{0}DamageResonance".format(resType), - ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrarmortransferfalloff3.py b/eos/effects/carrieramarrarmortransferfalloff3.py deleted file mode 100644 index 86308a94a..000000000 --- a/eos/effects/carrieramarrarmortransferfalloff3.py +++ /dev/null @@ -1,12 +0,0 @@ -# carrierAmarrArmorTransferFalloff3 -# -# Used by: -# Ship: Aeon -# Ship: Archon -type = "passive" - - -def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "falloffEffectiveness", src.getModifiedItemAttr("carrierAmarrBonus3"), - skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrdronemax1.py b/eos/effects/carrieramarrdronemax1.py deleted file mode 100644 index a47aeb095..000000000 --- a/eos/effects/carrieramarrdronemax1.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierAmarrDroneMax1 -# -# Used by: -# Ship: Aeon -# Ship: Archon -type = "passive" - - -def handler(fit, ship, context): - fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierAmarrBonus1"), - skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrfighterbombermaxvelocity2.py b/eos/effects/carrieramarrfighterbombermaxvelocity2.py deleted file mode 100644 index 1670bdff4..000000000 --- a/eos/effects/carrieramarrfighterbombermaxvelocity2.py +++ /dev/null @@ -1,10 +0,0 @@ -# carrierAmarrFighterBomberMaxVelocity2 -# -# Used by: -# Ship: Revenant -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), - "maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrfightermaxvelocity2.py b/eos/effects/carrieramarrfightermaxvelocity2.py deleted file mode 100644 index 4553a26a8..000000000 --- a/eos/effects/carrieramarrfightermaxvelocity2.py +++ /dev/null @@ -1,10 +0,0 @@ -# carrierAmarrFighterMaxVelocity2 -# -# Used by: -# Ship: Revenant -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), - "maxVelocity", ship.getModifiedItemAttr("carrierAmarrBonus2"), skill="Amarr Carrier") diff --git a/eos/effects/carrieramarrleadershipmaxgroupactive4.py b/eos/effects/carrieramarrleadershipmaxgroupactive4.py deleted file mode 100644 index 4695fa56c..000000000 --- a/eos/effects/carrieramarrleadershipmaxgroupactive4.py +++ /dev/null @@ -1,12 +0,0 @@ -# carrierAmarrLeadershipMaxGroupActive4 -# -# Used by: -# Ship: Aeon -# Ship: Revenant -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("carrierAmarrBonus4"), - skill="Amarr Carrier") diff --git a/eos/effects/carriercaldaridronemax1.py b/eos/effects/carriercaldaridronemax1.py deleted file mode 100644 index cf0bbc674..000000000 --- a/eos/effects/carriercaldaridronemax1.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierCaldariDroneMax1 -# -# Used by: -# Ship: Chimera -# Ship: Wyvern -type = "passive" - - -def handler(fit, ship, context): - fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierCaldariBonus1"), - skill="Caldari Carrier") diff --git a/eos/effects/carriercaldarifightersandbomberssig1.py b/eos/effects/carriercaldarifightersandbomberssig1.py deleted file mode 100644 index 3aaba55fd..000000000 --- a/eos/effects/carriercaldarifightersandbomberssig1.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierCaldariFightersAndBombersSig1 -# -# Used by: -# Ship: Revenant -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost( - lambda drone: drone.item.requiresSkill("Fighters") or drone.item.requiresSkill("Fighter Bombers"), - "signatureRadius", ship.getModifiedItemAttr("carrierCaldariBonus1"), skill="Caldari Carrier") diff --git a/eos/effects/carriercaldarileadershipmaxgroupactive4.py b/eos/effects/carriercaldarileadershipmaxgroupactive4.py deleted file mode 100644 index ec353fc85..000000000 --- a/eos/effects/carriercaldarileadershipmaxgroupactive4.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierCaldariLeadershipMaxGroupActive4 -# -# Used by: -# Ship: Wyvern -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("carrierCaldariBonus4"), - skill="Caldari Carrier") diff --git a/eos/effects/carriercaldarishieldenergytransferrange3.py b/eos/effects/carriercaldarishieldenergytransferrange3.py deleted file mode 100644 index 760ab1a9c..000000000 --- a/eos/effects/carriercaldarishieldenergytransferrange3.py +++ /dev/null @@ -1,14 +0,0 @@ -# carrierCaldariShield&EnergyTransferRange3 -# -# Used by: -# Ship: Chimera -# Ship: Revenant -# Ship: Wyvern -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "maxRange", ship.getModifiedItemAttr("carrierCaldariBonus3"), skill="Caldari Carrier") - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "maxRange", ship.getModifiedItemAttr("carrierCaldariBonus3"), skill="Caldari Carrier") diff --git a/eos/effects/carriercaldarishieldresist2.py b/eos/effects/carriercaldarishieldresist2.py deleted file mode 100644 index 3faa2cdf4..000000000 --- a/eos/effects/carriercaldarishieldresist2.py +++ /dev/null @@ -1,12 +0,0 @@ -# carrierCaldariShieldResist2 -# -# Used by: -# Ship: Chimera -# Ship: Wyvern -type = "passive" - - -def handler(fit, ship, context): - for resType in ("Em", "Explosive", "Kinetic", "Thermal"): - fit.ship.boostItemAttr("shield{0}DamageResonance".format(resType), - ship.getModifiedItemAttr("carrierCaldariBonus2"), skill="Caldari Carrier") diff --git a/eos/effects/carriercaldarishieldtransferfalloff3.py b/eos/effects/carriercaldarishieldtransferfalloff3.py deleted file mode 100644 index 0574cc1ca..000000000 --- a/eos/effects/carriercaldarishieldtransferfalloff3.py +++ /dev/null @@ -1,13 +0,0 @@ -# carrierCaldariShieldTransferFalloff3 -# -# Used by: -# Ship: Chimera -# Ship: Revenant -# Ship: Wyvern -type = "passive" - - -def handler(fit, src, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "falloffEffectiveness", src.getModifiedItemAttr("carrierCaldariBonus3"), - skill="Caldari Carrier") diff --git a/eos/effects/carrierfightercontrolrangebonus.py b/eos/effects/carrierfightercontrolrangebonus.py deleted file mode 100644 index 1981c1f0f..000000000 --- a/eos/effects/carrierfightercontrolrangebonus.py +++ /dev/null @@ -1,14 +0,0 @@ -# carrierFighterControlRangeBonus -# -# Used by: -# Ships from group: Carrier (4 of 4) -# Ships from group: Supercarrier (5 of 5) -type = "passive" - - -def handler(fit, ship, context): - # The fighter control range bonus only affects fighters. - # Until we can calculate and display control range on a per-drone level, - # we will have to leave this effect as a dummy. - pass - # fit.extraAttributes.multiply("droneControlRange", ship.getModifiedItemAttr("droneRangeBonus")) diff --git a/eos/effects/carriergallentearmorshieldtransferfalloff3.py b/eos/effects/carriergallentearmorshieldtransferfalloff3.py deleted file mode 100644 index 170ab6cdf..000000000 --- a/eos/effects/carriergallentearmorshieldtransferfalloff3.py +++ /dev/null @@ -1,13 +0,0 @@ -# carrierGallenteArmor&ShieldTransferFalloff3 -# -# Used by: -# Ship: Nyx -# Ship: Thanatos -type = "passive" - - -def handler(fit, src, context): - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems") or mod.item.requiresSkill( - "Capital Remote Armor Repair Systems"), "falloffEffectiveness", - src.getModifiedItemAttr("carrierGallenteBonus3"), skill="Gallente Carrier") diff --git a/eos/effects/carriergallentearmorshieldtransferrange3.py b/eos/effects/carriergallentearmorshieldtransferrange3.py deleted file mode 100644 index d07cbaa9f..000000000 --- a/eos/effects/carriergallentearmorshieldtransferrange3.py +++ /dev/null @@ -1,15 +0,0 @@ -# carrierGallenteArmor&ShieldTransferRange3 -# -# Used by: -# Ship: Nyx -# Ship: Thanatos -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "maxRange", ship.getModifiedItemAttr("carrierGallenteBonus3"), - skill="Gallente Carrier") - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "maxRange", ship.getModifiedItemAttr("carrierGallenteBonus3"), - skill="Gallente Carrier") diff --git a/eos/effects/carriergallentebomberdroneowndmg2.py b/eos/effects/carriergallentebomberdroneowndmg2.py deleted file mode 100644 index bc6648e23..000000000 --- a/eos/effects/carriergallentebomberdroneowndmg2.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierGallenteBomberDroneOwnDmg2 -# -# Used by: -# Ship: Nyx -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), - "damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2"), - skill="Gallente Carrier") diff --git a/eos/effects/carriergallentedronemax1.py b/eos/effects/carriergallentedronemax1.py deleted file mode 100644 index 1b8249dcb..000000000 --- a/eos/effects/carriergallentedronemax1.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierGallenteDroneMax1 -# -# Used by: -# Ship: Nyx -# Ship: Thanatos -type = "passive" - - -def handler(fit, ship, context): - fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierGallenteBonus1"), - skill="Gallente Carrier") diff --git a/eos/effects/carriergallentedroneowndmg2.py b/eos/effects/carriergallentedroneowndmg2.py deleted file mode 100644 index 09927080d..000000000 --- a/eos/effects/carriergallentedroneowndmg2.py +++ /dev/null @@ -1,12 +0,0 @@ -# carrierGallenteDroneOwnDmg2 -# -# Used by: -# Ship: Nyx -# Ship: Thanatos -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), - "damageMultiplier", ship.getModifiedItemAttr("carrierGallenteBonus2"), - skill="Gallente Carrier") diff --git a/eos/effects/carriergallenteleadershipmaxgroupactive4.py b/eos/effects/carriergallenteleadershipmaxgroupactive4.py deleted file mode 100644 index 8ba75aaba..000000000 --- a/eos/effects/carriergallenteleadershipmaxgroupactive4.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierGallenteLeadershipMaxGroupActive4 -# -# Used by: -# Ship: Nyx -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("carrierGallenteBonus4"), - skill="Gallente Carrier") diff --git a/eos/effects/carrierminmatararmorshieldamount.py b/eos/effects/carrierminmatararmorshieldamount.py deleted file mode 100644 index 27685714d..000000000 --- a/eos/effects/carrierminmatararmorshieldamount.py +++ /dev/null @@ -1,15 +0,0 @@ -# carrierMinmatarArmor&ShieldAmount -# -# Used by: -# Ship: Hel -# Ship: Nidhoggur -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster", - "shieldBonus", ship.getModifiedItemAttr("carrierMinmatarBonus2"), - skill="Minmatar Carrier") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer", - "armorDamageAmount", ship.getModifiedItemAttr("carrierMinmatarBonus2"), - skill="Minmatar Carrier") diff --git a/eos/effects/carrierminmatararmorshieldtransferfalloff3.py b/eos/effects/carrierminmatararmorshieldtransferfalloff3.py deleted file mode 100644 index 6aaaaa1bd..000000000 --- a/eos/effects/carrierminmatararmorshieldtransferfalloff3.py +++ /dev/null @@ -1,13 +0,0 @@ -# carrierMinmatarArmor&ShieldTransferFalloff3 -# -# Used by: -# Ship: Hel -# Ship: Nidhoggur -type = "passive" - - -def handler(fit, src, context): - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems") or mod.item.requiresSkill( - "Capital Remote Armor Repair Systems"), "falloffEffectiveness", - src.getModifiedItemAttr("carrierMinmatarBonus3"), skill="Minmatar Carrier") diff --git a/eos/effects/carrierminmatararmorshieldtransferrange3.py b/eos/effects/carrierminmatararmorshieldtransferrange3.py deleted file mode 100644 index 7b96affe5..000000000 --- a/eos/effects/carrierminmatararmorshieldtransferrange3.py +++ /dev/null @@ -1,15 +0,0 @@ -# carrierMinmatarArmor&ShieldTransferRange3 -# -# Used by: -# Ship: Hel -# Ship: Nidhoggur -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "maxRange", ship.getModifiedItemAttr("carrierMinmatarBonus3"), - skill="Minmatar Carrier") - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "maxRange", ship.getModifiedItemAttr("carrierMinmatarBonus3"), - skill="Minmatar Carrier") diff --git a/eos/effects/carrierminmatardronemax1.py b/eos/effects/carrierminmatardronemax1.py deleted file mode 100644 index a8d9a65fa..000000000 --- a/eos/effects/carrierminmatardronemax1.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierMinmatarDroneMax1 -# -# Used by: -# Ship: Hel -# Ship: Nidhoggur -type = "passive" - - -def handler(fit, ship, context): - fit.extraAttributes.increase("maxActiveDrones", ship.getModifiedItemAttr("carrierMinmatarBonus1"), - skill="Minmatar Carrier") diff --git a/eos/effects/carrierminmatarleadershipmaxgroupactive4.py b/eos/effects/carrierminmatarleadershipmaxgroupactive4.py deleted file mode 100644 index 8f169906f..000000000 --- a/eos/effects/carrierminmatarleadershipmaxgroupactive4.py +++ /dev/null @@ -1,11 +0,0 @@ -# carrierMinmatarLeadershipMaxGroupActive4 -# -# Used by: -# Ship: Hel -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("carrierMinmatarBonus4"), - skill="Minmatar Carrier") diff --git a/eos/effects/commandbonusecmmultiplywithcommandbonushidden.py b/eos/effects/commandbonusecmmultiplywithcommandbonushidden.py deleted file mode 100644 index 9b3ef297c..000000000 --- a/eos/effects/commandbonusecmmultiplywithcommandbonushidden.py +++ /dev/null @@ -1,17 +0,0 @@ -# commandBonusECMMultiplyWithCommandBonusHidden -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -gangBonus = "commandBonusECM" -gangBoost = "ewarStrECM" -type = "active", "gang" - - -def handler(fit, module, context): - if "gang" not in context: - return - for scanType in ("Magnetometric", "Radar", "Ladar", "Gravimetric"): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Electronic Warfare"), - "scan%sStrengthBonus" % scanType, - module.getModifiedItemAttr("commandBonusECM"), - stackingPenalties=True) diff --git a/eos/effects/commandbonusrsdmultiplywithcommandbonushidden.py b/eos/effects/commandbonusrsdmultiplywithcommandbonushidden.py deleted file mode 100644 index dfc9a123d..000000000 --- a/eos/effects/commandbonusrsdmultiplywithcommandbonushidden.py +++ /dev/null @@ -1,17 +0,0 @@ -# commandBonusRSDMultiplyWithCommandBonusHidden -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -gangBonus = "commandBonusRSD" -gangBoost = "ewarStrRSD" -type = "active", "gang" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"), - "maxTargetRangeBonus", module.getModifiedItemAttr("commandBonusRSD")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"), - "scanResolutionBonus", module.getModifiedItemAttr("commandBonusRSD"), - stackingPenalties=True) diff --git a/eos/effects/commandbonustdmultiplywithcommandbonushidden.py b/eos/effects/commandbonustdmultiplywithcommandbonushidden.py deleted file mode 100644 index 64c792f9f..000000000 --- a/eos/effects/commandbonustdmultiplywithcommandbonushidden.py +++ /dev/null @@ -1,23 +0,0 @@ -# commandBonusTDMultiplyWithCommandBonusHidden -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -gangBonus = "commandBonusTD" -gangBoost = "ewarStrTD" -type = "active", "gang" - - -def handler(fit, module, context): - if "gang" not in context: - return - for bonus in ( - "missileVelocityBonus", - "explosionDelayBonus", - "aoeVelocityBonus", - "falloffBonus", - "maxRangeBonus", - "aoeCloudSizeBonus", - "trackingSpeedBonus" - ): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), - bonus, module.getModifiedItemAttr("commandBonusTD")) diff --git a/eos/effects/commandbonustpmultiplywithcommandbonushidden.py b/eos/effects/commandbonustpmultiplywithcommandbonushidden.py deleted file mode 100644 index 9778289eb..000000000 --- a/eos/effects/commandbonustpmultiplywithcommandbonushidden.py +++ /dev/null @@ -1,15 +0,0 @@ -# commandBonusTPMultiplyWithCommandBonusHidden -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -gangBonus = "commandBonusTP" -gangBoost = "ewarStrTP" -type = "active", "gang" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Target Painting"), - "signatureRadiusBonus", module.getModifiedItemAttr("commandBonusTP"), - stackingPenalties=True) diff --git a/eos/effects/covertwarfaremindlink.py b/eos/effects/covertwarfaremindlink.py deleted file mode 100644 index 91062db3e..000000000 --- a/eos/effects/covertwarfaremindlink.py +++ /dev/null @@ -1,13 +0,0 @@ -# covertWarfareMindlink -# -# Used by: -# Implant: Caldari Navy Warfare Mindlink -# Implant: Imperial Navy Warfare Mindlink -# Implant: Information Warfare Mindlink -type = "passive" - - -def handler(fit, implant, context): - fit.character.getSkill("Information Command").suppress() - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command Specialist"), - "commandBonus", implant.getModifiedItemAttr("mindlinkBonus")) diff --git a/eos/effects/dreadnoughtmd1projdmgbonus.py b/eos/effects/dreadnoughtmd1projdmgbonus.py deleted file mode 100644 index 2d3ef6a03..000000000 --- a/eos/effects/dreadnoughtmd1projdmgbonus.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtMD1ProjDmgBonus -# -# Used by: -# Ship: Naglfar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), - "damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusM1"), - skill="Minmatar Dreadnought") diff --git a/eos/effects/dreadnoughtmd3projrofbonus.py b/eos/effects/dreadnoughtmd3projrofbonus.py deleted file mode 100644 index 7cd152f78..000000000 --- a/eos/effects/dreadnoughtmd3projrofbonus.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtMD3ProjRoFBonus -# -# Used by: -# Ship: Naglfar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), - "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusM3"), - skill="Minmatar Dreadnought") diff --git a/eos/effects/dreadnoughtshipbonushybriddmgg1.py b/eos/effects/dreadnoughtshipbonushybriddmgg1.py deleted file mode 100644 index 61025aee3..000000000 --- a/eos/effects/dreadnoughtshipbonushybriddmgg1.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtShipBonusHybridDmgG1 -# -# Used by: -# Ship: Moros -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), - "damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusG1"), - skill="Gallente Dreadnought") diff --git a/eos/effects/dreadnoughtshipbonushybridrofg2.py b/eos/effects/dreadnoughtshipbonushybridrofg2.py deleted file mode 100644 index 0ff926ede..000000000 --- a/eos/effects/dreadnoughtshipbonushybridrofg2.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtShipBonusHybridRoFG2 -# -# Used by: -# Ship: Moros -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), - "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusG2"), - skill="Gallente Dreadnought") diff --git a/eos/effects/dreadnoughtshipbonuslasercapneeda1.py b/eos/effects/dreadnoughtshipbonuslasercapneeda1.py deleted file mode 100644 index 3202050af..000000000 --- a/eos/effects/dreadnoughtshipbonuslasercapneeda1.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtShipBonusLaserCapNeedA1 -# -# Used by: -# Ship: Revelation -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"), - "capacitorNeed", ship.getModifiedItemAttr("dreadnoughtShipBonusA1"), - skill="Amarr Dreadnought") diff --git a/eos/effects/dreadnoughtshipbonuslaserrofa2.py b/eos/effects/dreadnoughtshipbonuslaserrofa2.py deleted file mode 100644 index faa54edf5..000000000 --- a/eos/effects/dreadnoughtshipbonuslaserrofa2.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtShipBonusLaserRofA2 -# -# Used by: -# Ship: Revelation -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"), - "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusA2"), - skill="Amarr Dreadnought") diff --git a/eos/effects/dreadnoughtshipbonusshieldresistancesc2.py b/eos/effects/dreadnoughtshipbonusshieldresistancesc2.py deleted file mode 100644 index 0fca8e14e..000000000 --- a/eos/effects/dreadnoughtshipbonusshieldresistancesc2.py +++ /dev/null @@ -1,11 +0,0 @@ -# dreadnoughtShipBonusShieldResistancesC2 -# -# Used by: -# Ship: Phoenix -type = "passive" - - -def handler(fit, ship, context): - for damageType in ("em", "thermal", "explosive", "kinetic"): - fit.ship.boostItemAttr("shield{}DamageResonance".format(damageType.capitalize()), - ship.getModifiedItemAttr("dreadnoughtShipBonusC2"), skill="Caldari Dreadnought") diff --git a/eos/effects/dronedamagebonusonline.py b/eos/effects/dronedamagebonusonline.py deleted file mode 100644 index 13ad14a45..000000000 --- a/eos/effects/dronedamagebonusonline.py +++ /dev/null @@ -1,11 +0,0 @@ -# droneDamageBonusOnline -# -# Used by: -# Modules from group: Drone Damage Modules (11 of 11) -type = "passive" - - -def handler(fit, module, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "damageMultiplier", module.getModifiedItemAttr("droneDamageBonus"), - stackingPenalties=True) diff --git a/eos/effects/dronedurabilityarmorhpbonus2.py b/eos/effects/dronedurabilityarmorhpbonus2.py deleted file mode 100644 index 11190a806..000000000 --- a/eos/effects/dronedurabilityarmorhpbonus2.py +++ /dev/null @@ -1,10 +0,0 @@ -# droneDurabilityArmorHPBonus2 -# -# Used by: -# Skill: Drone Durability -type = "passive" - - -def handler(fit, skill, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "armorHP", skill.getModifiedItemAttr("armorHpBonus") * skill.level) diff --git a/eos/effects/dronedurabilityshieldcapbonus2.py b/eos/effects/dronedurabilityshieldcapbonus2.py deleted file mode 100644 index 511e422a4..000000000 --- a/eos/effects/dronedurabilityshieldcapbonus2.py +++ /dev/null @@ -1,10 +0,0 @@ -# droneDurabilityShieldCapBonus2 -# -# Used by: -# Skill: Drone Durability -type = "passive" - - -def handler(fit, skill, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "shieldCapacity", skill.getModifiedItemAttr("shieldCapacityBonus") * skill.level) diff --git a/eos/effects/dronemwdspeedbonus.py b/eos/effects/dronemwdspeedbonus.py deleted file mode 100644 index 692959ae4..000000000 --- a/eos/effects/dronemwdspeedbonus.py +++ /dev/null @@ -1,10 +0,0 @@ -# droneMWDSpeedBonus -# -# Used by: -# Modules from group: Drone Navigation Computer (8 of 8) -type = "passive" - - -def handler(fit, module, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), "maxVelocity", - module.getModifiedItemAttr("speedFactor"), stackingPenalties=True) diff --git a/eos/effects/dronesmaxactivedronebonusmodaddmaxactiveactive.py b/eos/effects/dronesmaxactivedronebonusmodaddmaxactiveactive.py deleted file mode 100644 index 5bf55b8cc..000000000 --- a/eos/effects/dronesmaxactivedronebonusmodaddmaxactiveactive.py +++ /dev/null @@ -1,10 +0,0 @@ -# dronesMaxActiveDroneBonusModAddMaxActiveActive -# -# Used by: -# Modules from group: Drone Control Unit (5 of 5) -type = "active" - - -def handler(fit, module, context): - amount = module.getModifiedItemAttr("maxActiveDroneBonus") - fit.extraAttributes.increase("maxActiveDrones", amount) diff --git a/eos/effects/dronetrackingcomputerbonus.py b/eos/effects/dronetrackingcomputerbonus.py deleted file mode 100644 index f33ab2600..000000000 --- a/eos/effects/dronetrackingcomputerbonus.py +++ /dev/null @@ -1,17 +0,0 @@ -# droneTrackingComputerBonus -# -# Used by: -# Modules from group: Drone Tracking Modules (10 of 10) -type = "active" - - -def handler(fit, module, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "maxRange", module.getModifiedItemAttr("maxRangeBonus"), - stackingPenalties=True) - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "falloff", module.getModifiedItemAttr("falloffBonus"), - stackingPenalties=True) - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "trackingSpeed", module.getModifiedItemAttr("trackingSpeedBonus"), - stackingPenalties=True) diff --git a/eos/effects/dronetrackingenhancerbonus.py b/eos/effects/dronetrackingenhancerbonus.py deleted file mode 100644 index a9cc82a32..000000000 --- a/eos/effects/dronetrackingenhancerbonus.py +++ /dev/null @@ -1,17 +0,0 @@ -# droneTrackingEnhancerBonus -# -# Used by: -# Modules from group: Drone Tracking Enhancer (10 of 10) -type = "passive" - - -def handler(fit, module, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "maxRange", module.getModifiedItemAttr("maxRangeBonus"), - stackingPenalties=True) - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "falloff", module.getModifiedItemAttr("falloffBonus"), - stackingPenalties=True) - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"), - "trackingSpeed", module.getModifiedItemAttr("trackingSpeedBonus"), - stackingPenalties=True) diff --git a/eos/effects/ecmburst.py b/eos/effects/ecmburst.py deleted file mode 100644 index 9b4ebf30e..000000000 --- a/eos/effects/ecmburst.py +++ /dev/null @@ -1,9 +0,0 @@ -# ecmBurst -# -# Used by: -# Modules from group: Burst Jammer (11 of 11) -type = "active" - - -def handler(fit, module, context): - pass diff --git a/eos/effects/energyneutralizerentity.py b/eos/effects/energyneutralizerentity.py deleted file mode 100644 index 8532f49df..000000000 --- a/eos/effects/energyneutralizerentity.py +++ /dev/null @@ -1,16 +0,0 @@ -# energyNeutralizerEntity -# -# Used by: -# Drones from group: Energy Neutralizer Drone (3 of 3) -from eos.types import State - -type = "active", "projected" - - -def handler(fit, src, context): - if "projected" in context and ( - (hasattr(src, "state") and src.state >= State.ACTIVE) or hasattr(src, "amountActive")): - amount = src.getModifiedItemAttr("energyNeutralizerAmount") - time = src.getModifiedItemAttr("duration") - - fit.addDrain(src, time, amount, 0) diff --git a/eos/effects/ewtesteffectjam.py b/eos/effects/ewtesteffectjam.py deleted file mode 100644 index 45a9f9c26..000000000 --- a/eos/effects/ewtesteffectjam.py +++ /dev/null @@ -1,13 +0,0 @@ -# ewTestEffectJam -# -# Used by: -# Drones named like: EC (3 of 3) -type = "projected", "active" - - -def handler(fit, module, context): - if "projected" in context: - # jam formula: 1 - (1- (jammer str/ship str))^(# of jam mods with same str)) - strModifier = 1 - module.getModifiedItemAttr("scan{0}StrengthBonus".format(fit.scanType)) / fit.scanStrength - - fit.ecmProjectedStr *= strModifier diff --git a/eos/effects/fightersdmgbonusskills.py b/eos/effects/fightersdmgbonusskills.py deleted file mode 100644 index 8a61c85e0..000000000 --- a/eos/effects/fightersdmgbonusskills.py +++ /dev/null @@ -1,10 +0,0 @@ -# fightersDmgBonusSkills -# -# Used by: -# Skill: Fighters -type = "passive" - - -def handler(fit, skill, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), - "damageMultiplier", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level) diff --git a/eos/effects/gangabmwdfactorboost.py b/eos/effects/gangabmwdfactorboost.py deleted file mode 100644 index 350458eb1..000000000 --- a/eos/effects/gangabmwdfactorboost.py +++ /dev/null @@ -1,14 +0,0 @@ -# gangAbMwdFactorBoost -# -# Used by: -# Variations of module: Skirmish Warfare Link - Rapid Deployment I (2 of 2) -type = "gang", "active" -gangBoost = "speedFactor" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module", - "speedFactor", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/gangarmorhardening.py b/eos/effects/gangarmorhardening.py deleted file mode 100644 index 42b89808c..000000000 --- a/eos/effects/gangarmorhardening.py +++ /dev/null @@ -1,15 +0,0 @@ -# gangArmorHardening -# -# Used by: -# Variations of module: Armored Command Link - Passive Defense I (2 of 2) -type = "gang", "active" -gangBoost = "armorResistance" - - -def handler(fit, module, context): - if "gang" not in context: - return - for damageType in ("Em", "Thermal", "Explosive", "Kinetic"): - fit.ship.boostItemAttr("armor%sDamageResonance" % damageType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/gangarmorrepaircapreducerselfandprojected.py b/eos/effects/gangarmorrepaircapreducerselfandprojected.py deleted file mode 100644 index 192c40a8a..000000000 --- a/eos/effects/gangarmorrepaircapreducerselfandprojected.py +++ /dev/null @@ -1,14 +0,0 @@ -# gangArmorRepairCapReducerSelfAndProjected -# -# Used by: -# Variations of module: Armored Command Link - Damage Control I (2 of 2) -type = "gang", "active" -gangBoost = "armorRepairCapacitorNeed" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), - "capacitorNeed", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/gangarmorrepairspeedamplifierselfandprojected.py b/eos/effects/gangarmorrepairspeedamplifierselfandprojected.py deleted file mode 100644 index f86183819..000000000 --- a/eos/effects/gangarmorrepairspeedamplifierselfandprojected.py +++ /dev/null @@ -1,14 +0,0 @@ -# gangArmorRepairSpeedAmplifierSelfAndProjected -# -# Used by: -# Variations of module: Armored Command Link - Rapid Repair I (2 of 2) -type = "gang", "active" -gangBoost = "armorRepairDuration" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), - "duration", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/gangbonussignature.py b/eos/effects/gangbonussignature.py deleted file mode 100644 index fa5056d8f..000000000 --- a/eos/effects/gangbonussignature.py +++ /dev/null @@ -1,13 +0,0 @@ -# gangBonusSignature -# -# Used by: -# Variations of module: Skirmish Warfare Link - Evasive Maneuvers I (2 of 2) -type = "gang", "active" -gangBoost = "signatureRadius" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.ship.boostItemAttr("signatureRadius", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/ganggasharvesterandiceharvesterandmininglasercapneedbonus.py b/eos/effects/ganggasharvesterandiceharvesterandmininglasercapneedbonus.py deleted file mode 100644 index 162b2a074..000000000 --- a/eos/effects/ganggasharvesterandiceharvesterandmininglasercapneedbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# gangGasHarvesterAndIceHarvesterAndMiningLaserCapNeedBonus -# -# Used by: -# Variations of module: Mining Foreman Link - Harvester Capacitor Efficiency I (2 of 2) -type = "gang", "active" -gangBoost = "miningCapacitorNeed" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Mining Laser", "Strip Miner", "Frequency Mining Laser", - "Ice Harvester", "Gas Cloud Harvester") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "capacitorNeed", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/ganggasharvesterandiceharvesterandmininglaserdurationbonus.py b/eos/effects/ganggasharvesterandiceharvesterandmininglaserdurationbonus.py deleted file mode 100644 index 2ffa23100..000000000 --- a/eos/effects/ganggasharvesterandiceharvesterandmininglaserdurationbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# gangGasHarvesterAndIceHarvesterAndMiningLaserDurationBonus -# -# Used by: -# Variations of module: Mining Foreman Link - Laser Optimization I (2 of 2) -type = "gang", "active" -gangBoost = "miningDuration" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Mining Laser", "Strip Miner", "Frequency Mining Laser", - "Ice Harvester", "Gas Cloud Harvester") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "duration", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/ganginformationwarfarerangebonuswithecmburst.py b/eos/effects/ganginformationwarfarerangebonuswithecmburst.py deleted file mode 100644 index 6ce5d0c40..000000000 --- a/eos/effects/ganginformationwarfarerangebonuswithecmburst.py +++ /dev/null @@ -1,15 +0,0 @@ -# gangInformationWarfareRangeBonusWithEcmBurst -# -# Used by: -# Variations of module: Information Warfare Link - Recon Operation I (2 of 2) -type = "gang", "active" -gangBoost = "electronicMaxRange" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Target Painter", "Weapon Disruptor", "Sensor Dampener", "ECM", "Burst Jammer") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/ganginformationwarfaresuperiorityall2.py b/eos/effects/ganginformationwarfaresuperiorityall2.py deleted file mode 100644 index 6e8070e3a..000000000 --- a/eos/effects/ganginformationwarfaresuperiorityall2.py +++ /dev/null @@ -1,12 +0,0 @@ -# gangInformationWarfareSuperiorityAll2 -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -type = "active" - - -def handler(fit, module, context): - module.multiplyItemAttr("commandBonusTD", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusECM", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusRSD", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusTP", module.getModifiedItemAttr("commandBonusHidden")) diff --git a/eos/effects/gangmininglasericeharvestergasharvestersurveyscannermaxrangebonus.py b/eos/effects/gangmininglasericeharvestergasharvestersurveyscannermaxrangebonus.py deleted file mode 100644 index 8320e6b11..000000000 --- a/eos/effects/gangmininglasericeharvestergasharvestersurveyscannermaxrangebonus.py +++ /dev/null @@ -1,17 +0,0 @@ -# gangMiningLaserIceHarvesterGasHarvesterSurveyScannerMaxRangeBonus -# -# Used by: -# Variations of module: Mining Foreman Link - Mining Laser Field Enhancement I (2 of 2) -type = "gang", "active" -gangBoost = "miningMaxRange" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gas Cloud Harvesting") or mod.item.requiresSkill( - "Ice Harvesting") or mod.item.requiresSkill("Mining"), - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("CPU Management"), - "surveyScanRange", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/gangpropulsionjammingboost.py b/eos/effects/gangpropulsionjammingboost.py deleted file mode 100644 index 7b400afcd..000000000 --- a/eos/effects/gangpropulsionjammingboost.py +++ /dev/null @@ -1,15 +0,0 @@ -# gangPropulsionJammingBoost -# -# Used by: -# Variations of module: Skirmish Warfare Link - Interdiction Maneuvers I (2 of 2) -type = "gang", "active" -gangBoost = "interdictionMaxRange" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Stasis Web", "Warp Scrambler") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/gangsensorintegrity.py b/eos/effects/gangsensorintegrity.py deleted file mode 100644 index e4b41c809..000000000 --- a/eos/effects/gangsensorintegrity.py +++ /dev/null @@ -1,18 +0,0 @@ -# gangSensorIntegrity -# -# Used by: -# Variations of module: Information Warfare Link - Sensor Integrity I (2 of 2) -type = "gang", "active" -gangBoost = "maxTargetRange" -gangBonus = "commandBonus" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) - for scanType in ("Gravimetric", "Radar", "Ladar", "Magnetometric"): - fit.ship.boostItemAttr("scan%sStrength" % scanType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/gangshieldboosteandtransportercapacitorneed.py b/eos/effects/gangshieldboosteandtransportercapacitorneed.py deleted file mode 100644 index d54f6d384..000000000 --- a/eos/effects/gangshieldboosteandtransportercapacitorneed.py +++ /dev/null @@ -1,14 +0,0 @@ -# gangShieldBoosteAndTransporterCapacitorNeed -# -# Used by: -# Variations of module: Siege Warfare Link - Shield Efficiency I (2 of 2) -type = "gang", "active" -gangBoost = "shieldRepairCapacitorNeed" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Shield Emission Systems"), - "capacitorNeed", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/gangshieldboosterandtransporterspeed.py b/eos/effects/gangshieldboosterandtransporterspeed.py deleted file mode 100644 index fa2321d2b..000000000 --- a/eos/effects/gangshieldboosterandtransporterspeed.py +++ /dev/null @@ -1,14 +0,0 @@ -# gangShieldBoosterAndTransporterSpeed -# -# Used by: -# Variations of module: Siege Warfare Link - Active Shielding I (2 of 2) -type = "gang", "active" -gangBoost = "shieldRepairDuration" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Shield Emission Systems"), - "duration", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/gangshieldhardening.py b/eos/effects/gangshieldhardening.py deleted file mode 100644 index b1bd5d449..000000000 --- a/eos/effects/gangshieldhardening.py +++ /dev/null @@ -1,15 +0,0 @@ -# gangShieldHardening -# -# Used by: -# Variations of module: Siege Warfare Link - Shield Harmonizing I (2 of 2) -type = "gang", "active" -gangBoost = "shieldResistance" - - -def handler(fit, module, context): - if "gang" not in context: - return - for damageType in ("Em", "Explosive", "Thermal", "Kinetic"): - fit.ship.boostItemAttr("shield%sDamageResonance" % damageType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/informationsquadroncommand.py b/eos/effects/informationsquadroncommand.py deleted file mode 100644 index bbc6d7b04..000000000 --- a/eos/effects/informationsquadroncommand.py +++ /dev/null @@ -1,11 +0,0 @@ -# informationSquadronCommand -# -# Used by: -# Skill: Information Command Specialist -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command Specialist"), - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/informationsquadroncommandhidden.py b/eos/effects/informationsquadroncommandhidden.py deleted file mode 100644 index 2eceaec9f..000000000 --- a/eos/effects/informationsquadroncommandhidden.py +++ /dev/null @@ -1,11 +0,0 @@ -# informationSquadronCommandHidden -# -# Used by: -# Skill: Information Command Specialist -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Information Command Specialist"), - "commandBonusHidden", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/leadershipeffect.py b/eos/effects/leadershipeffect.py deleted file mode 100644 index cfb672727..000000000 --- a/eos/effects/leadershipeffect.py +++ /dev/null @@ -1,11 +0,0 @@ -# leadershipEffect -# -# Used by: -# Skill: Leadership -type = "gang" -gangBoost = "scanResolution" -gangBonus = "scanResolutionBonus" - - -def handler(fit, skill, context): - fit.ship.boostItemAttr(gangBoost, skill.getModifiedItemAttr(gangBonus) * skill.level, stackingPenalties=True) diff --git a/eos/effects/miningforemanmindlinkminingamountbonusreplacer.py b/eos/effects/miningforemanmindlinkminingamountbonusreplacer.py deleted file mode 100644 index 1e4921fbb..000000000 --- a/eos/effects/miningforemanmindlinkminingamountbonusreplacer.py +++ /dev/null @@ -1,12 +0,0 @@ -# miningForemanMindLinkMiningAmountBonusReplacer -# -# Used by: -# Implant: Mining Foreman Mindlink -type = "gang" -gangBoost = "miningAmount" -gangBonus = "miningAmountBonus" - - -def handler(fit, container, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"), - gangBoost, container.getModifiedItemAttr(gangBonus)) diff --git a/eos/effects/miningsquadroncommand.py b/eos/effects/miningsquadroncommand.py deleted file mode 100644 index 77a9c0b20..000000000 --- a/eos/effects/miningsquadroncommand.py +++ /dev/null @@ -1,11 +0,0 @@ -# miningSquadronCommand -# -# Used by: -# Skill: Mining Director -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining Director"), - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/miningyieldgangbonusfixed.py b/eos/effects/miningyieldgangbonusfixed.py deleted file mode 100644 index e597db001..000000000 --- a/eos/effects/miningyieldgangbonusfixed.py +++ /dev/null @@ -1,13 +0,0 @@ -# miningYieldGangBonusFixed -# -# Used by: -# Skill: Mining Foreman -type = "gang" -gangBoost = "miningAmount" -gangBonus = "miningAmountBonus" - - -def handler(fit, container, context): - level = container.level if "skill" in context else 1 - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining"), - gangBoost, container.getModifiedItemAttr(gangBonus) * level) diff --git a/eos/effects/modulebonusarmoredwarfarelinkdamagecontrol.py b/eos/effects/modulebonusarmoredwarfarelinkdamagecontrol.py deleted file mode 100644 index 4870d083c..000000000 --- a/eos/effects/modulebonusarmoredwarfarelinkdamagecontrol.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusArmoredWarfareLinkDamageControl -# -# Used by: -# Variations of module: Armored Command Link - Damage Control I (2 of 2) -type = "gang", "active" -gangBoost = "armorRepairCapacitorNeed" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), - "capacitorNeed", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/modulebonusarmoredwarfarelinkpassivedefense.py b/eos/effects/modulebonusarmoredwarfarelinkpassivedefense.py deleted file mode 100644 index b7b0c7b03..000000000 --- a/eos/effects/modulebonusarmoredwarfarelinkpassivedefense.py +++ /dev/null @@ -1,17 +0,0 @@ -# moduleBonusArmoredWarfareLinkPassiveDefense -# -# Used by: -# Variations of module: Armored Command Link - Passive Defense I (2 of 2) -type = "gang", "active" -gangBoost = "armorResistance" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - for damageType in ("Em", "Thermal", "Explosive", "Kinetic"): - fit.ship.boostItemAttr("armor%sDamageResonance" % damageType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusarmoredwarfarelinkrapidrepair.py b/eos/effects/modulebonusarmoredwarfarelinkrapidrepair.py deleted file mode 100644 index 6d3068091..000000000 --- a/eos/effects/modulebonusarmoredwarfarelinkrapidrepair.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusArmoredWarfareLinkRapidRepair -# -# Used by: -# Variations of module: Armored Command Link - Rapid Repair I (2 of 2) -type = "gang", "active" -gangBoost = "armorRepairDuration" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Repair Systems") or mod.item.requiresSkill("Remote Armor Repair Systems"), - "duration", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/modulebonusinformationwarfarelinkelectronicsuperiority.py b/eos/effects/modulebonusinformationwarfarelinkelectronicsuperiority.py deleted file mode 100644 index be7fdb918..000000000 --- a/eos/effects/modulebonusinformationwarfarelinkelectronicsuperiority.py +++ /dev/null @@ -1,12 +0,0 @@ -# moduleBonusInformationWarfareLinkElectronicSuperiority -# -# Used by: -# Variations of module: Information Warfare Link - Electronic Superiority I (2 of 2) -type = "active" - - -def handler(fit, module, context): - module.multiplyItemAttr("commandBonusTD", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusECM", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusRSD", module.getModifiedItemAttr("commandBonusHidden")) - module.multiplyItemAttr("commandBonusTP", module.getModifiedItemAttr("commandBonusHidden")) diff --git a/eos/effects/modulebonusinformationwarfarelinkreconoperation.py b/eos/effects/modulebonusinformationwarfarelinkreconoperation.py deleted file mode 100644 index 039caa229..000000000 --- a/eos/effects/modulebonusinformationwarfarelinkreconoperation.py +++ /dev/null @@ -1,17 +0,0 @@ -# moduleBonusInformationWarfareLinkReconOperation -# -# Used by: -# Variations of module: Information Warfare Link - Recon Operation I (2 of 2) -type = "gang", "active" -gangBoost = "electronicMaxRange" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Target Painter", "Weapon Disruptor", "Sensor Dampener", "ECM", "Burst Jammer") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusinformationwarfarelinksensorintegrity.py b/eos/effects/modulebonusinformationwarfarelinksensorintegrity.py deleted file mode 100644 index e2c6d9c5e..000000000 --- a/eos/effects/modulebonusinformationwarfarelinksensorintegrity.py +++ /dev/null @@ -1,20 +0,0 @@ -# moduleBonusInformationWarfareLinkSensorIntegrity -# -# Used by: -# Variations of module: Information Warfare Link - Sensor Integrity I (2 of 2) -type = "gang", "active" -gangBoost = "maxTargetRange" -gangBonus = "commandBonus" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.ship.boostItemAttr("maxTargetRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) - for scanType in ("Gravimetric", "Radar", "Ladar", "Magnetometric"): - fit.ship.boostItemAttr("scan%sStrength" % scanType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusminingforemanlinkharvestercapacitorefficiency.py b/eos/effects/modulebonusminingforemanlinkharvestercapacitorefficiency.py deleted file mode 100644 index 933c1c72b..000000000 --- a/eos/effects/modulebonusminingforemanlinkharvestercapacitorefficiency.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusMiningForemanLinkHarvesterCapacitorEfficiency -# -# Used by: -# Variations of module: Mining Foreman Link - Harvester Capacitor Efficiency I (2 of 2) -type = "gang", "active" -gangBoost = "miningCapacitorNeed" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Mining Laser", "Strip Miner", "Frequency Mining Laser", - "Ice Harvester", "Gas Cloud Harvester") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "capacitorNeed", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusminingforemanlinklaseroptimization.py b/eos/effects/modulebonusminingforemanlinklaseroptimization.py deleted file mode 100644 index 8c457d34c..000000000 --- a/eos/effects/modulebonusminingforemanlinklaseroptimization.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusMiningForemanLinkLaserOptimization -# -# Used by: -# Variations of module: Mining Foreman Link - Laser Optimization I (2 of 2) -type = "gang", "active" -gangBoost = "miningDuration" - - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Mining Laser", "Strip Miner", "Frequency Mining Laser", - "Ice Harvester", "Gas Cloud Harvester") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "duration", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusminingforemanlinkmininglaserfieldenhancement.py b/eos/effects/modulebonusminingforemanlinkmininglaserfieldenhancement.py deleted file mode 100644 index d655adff8..000000000 --- a/eos/effects/modulebonusminingforemanlinkmininglaserfieldenhancement.py +++ /dev/null @@ -1,17 +0,0 @@ -# moduleBonusMiningForemanLinkMiningLaserFieldEnhancement -# -# Used by: -# Variations of module: Mining Foreman Link - Mining Laser Field Enhancement I (2 of 2) -type = "gang", "active" -gangBoost = "miningMaxRange" - - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gas Cloud Harvesting") or mod.item.requiresSkill( - "Ice Harvesting") or mod.item.requiresSkill("Mining"), - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("CPU Management"), - "surveyScanRange", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/modulebonussiegewarfarelinkactiveshielding.py b/eos/effects/modulebonussiegewarfarelinkactiveshielding.py deleted file mode 100644 index 7190f5240..000000000 --- a/eos/effects/modulebonussiegewarfarelinkactiveshielding.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusSiegeWarfareLinkActiveShielding -# -# Used by: -# Variations of module: Siege Warfare Link - Active Shielding I (2 of 2) -type = "gang", "active" -gangBoost = "shieldRepairDuration" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Shield Emission Systems"), - "duration", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/modulebonussiegewarfarelinkshieldefficiency.py b/eos/effects/modulebonussiegewarfarelinkshieldefficiency.py deleted file mode 100644 index d01e05168..000000000 --- a/eos/effects/modulebonussiegewarfarelinkshieldefficiency.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusSiegeWarfareLinkShieldEfficiency -# -# Used by: -# Variations of module: Siege Warfare Link - Shield Efficiency I (2 of 2) -type = "gang", "active" -gangBoost = "shieldRepairCapacitorNeed" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost( - lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Shield Emission Systems"), - "capacitorNeed", module.getModifiedItemAttr("commandBonus")) diff --git a/eos/effects/modulebonussiegewarfarelinkshieldharmonizing.py b/eos/effects/modulebonussiegewarfarelinkshieldharmonizing.py deleted file mode 100644 index 35a7df928..000000000 --- a/eos/effects/modulebonussiegewarfarelinkshieldharmonizing.py +++ /dev/null @@ -1,17 +0,0 @@ -# moduleBonusSiegeWarfareLinkShieldHarmonizing -# -# Used by: -# Variations of module: Siege Warfare Link - Shield Harmonizing I (2 of 2) -type = "gang", "active" -# runTime = "late" - -gangBoost = "shieldResistance" - - -def handler(fit, module, context): - if "gang" not in context: - return - for damageType in ("Em", "Explosive", "Thermal", "Kinetic"): - fit.ship.boostItemAttr("shield%sDamageResonance" % damageType, - module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusskirmishwarfarelinkevasivemaneuvers.py b/eos/effects/modulebonusskirmishwarfarelinkevasivemaneuvers.py deleted file mode 100644 index 2e62234ae..000000000 --- a/eos/effects/modulebonusskirmishwarfarelinkevasivemaneuvers.py +++ /dev/null @@ -1,15 +0,0 @@ -# moduleBonusSkirmishWarfareLinkEvasiveManeuvers -# -# Used by: -# Variations of module: Skirmish Warfare Link - Evasive Maneuvers I (2 of 2) -type = "gang", "active" -gangBoost = "signatureRadius" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.ship.boostItemAttr("signatureRadius", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusskirmishwarfarelinkinterdictionmaneuvers.py b/eos/effects/modulebonusskirmishwarfarelinkinterdictionmaneuvers.py deleted file mode 100644 index ddf4ce6f7..000000000 --- a/eos/effects/modulebonusskirmishwarfarelinkinterdictionmaneuvers.py +++ /dev/null @@ -1,17 +0,0 @@ -# moduleBonusSkirmishWarfareLinkInterdictionManeuvers -# -# Used by: -# Variations of module: Skirmish Warfare Link - Interdiction Maneuvers I (2 of 2) -type = "gang", "active" -gangBoost = "interdictionMaxRange" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - groups = ("Stasis Web", "Warp Scrambler") - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups, - "maxRange", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/modulebonusskirmishwarfarelinkrapiddeployment.py b/eos/effects/modulebonusskirmishwarfarelinkrapiddeployment.py deleted file mode 100644 index 0675241d3..000000000 --- a/eos/effects/modulebonusskirmishwarfarelinkrapiddeployment.py +++ /dev/null @@ -1,16 +0,0 @@ -# moduleBonusSkirmishWarfareLinkRapidDeployment -# -# Used by: -# Variations of module: Skirmish Warfare Link - Rapid Deployment I (2 of 2) -type = "gang", "active" -gangBoost = "speedFactor" - - -# runTime = "late" - -def handler(fit, module, context): - if "gang" not in context: - return - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module", - "speedFactor", module.getModifiedItemAttr("commandBonus"), - stackingPenalties=True) diff --git a/eos/effects/reconoperationsmaxtargetrangebonuspostpercentmaxtargetrangegangships.py b/eos/effects/reconoperationsmaxtargetrangebonuspostpercentmaxtargetrangegangships.py deleted file mode 100644 index c80bdc346..000000000 --- a/eos/effects/reconoperationsmaxtargetrangebonuspostpercentmaxtargetrangegangships.py +++ /dev/null @@ -1,12 +0,0 @@ -# reconOperationsMaxTargetRangeBonusPostPercentMaxTargetRangeGangShips -# -# Used by: -# Skill: Information Warfare -type = "gang" -gangBoost = "maxTargetRange" -gangBonus = "maxTargetRangeBonus" - - -def handler(fit, container, context): - level = container.level if "skill" in context else 1 - fit.ship.boostItemAttr(gangBoost, container.getModifiedItemAttr(gangBonus) * level, stackingPenalties=True) diff --git a/eos/effects/remoteecmburst.py b/eos/effects/remoteecmburst.py deleted file mode 100644 index 4f2324035..000000000 --- a/eos/effects/remoteecmburst.py +++ /dev/null @@ -1,6 +0,0 @@ -# Not used by any item -type = 'active' - - -def handler(fit, module, context): - pass diff --git a/eos/effects/sensorboosttargetedhostile.py b/eos/effects/sensorboosttargetedhostile.py deleted file mode 100644 index 0055c9c92..000000000 --- a/eos/effects/sensorboosttargetedhostile.py +++ /dev/null @@ -1,13 +0,0 @@ -# sensorBoostTargetedHostile -# -# Used by: -# Drones named like: SD (3 of 3) -type = "projected", "active" - - -def handler(fit, container, context): - if "projected" in context: - fit.ship.multiplyItemAttr("maxTargetRange", container.getModifiedItemAttr("maxTargetRangeMultiplier"), - stackingPenalties=True, penaltyGroup="postMul") - fit.ship.multiplyItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionMultiplier"), - stackingPenalties=True, penaltyGroup="postMul") diff --git a/eos/effects/shielddefensiveoperationsshieldcapacitybonuspostpercentshieldcapacitygangships.py b/eos/effects/shielddefensiveoperationsshieldcapacitybonuspostpercentshieldcapacitygangships.py deleted file mode 100644 index 97658eb27..000000000 --- a/eos/effects/shielddefensiveoperationsshieldcapacitybonuspostpercentshieldcapacitygangships.py +++ /dev/null @@ -1,12 +0,0 @@ -# shieldDefensiveOperationsShieldCapacityBonusPostPercentShieldCapacityGangShips -# -# Used by: -# Skill: Siege Warfare -type = "gang" -gangBoost = "shieldCapacity" -gangBonus = "shieldCapacityBonus" - - -def handler(fit, container, context): - level = container.level if "skill" in context else 1 - fit.ship.boostItemAttr(gangBoost, container.getModifiedItemAttr(gangBonus) * level) diff --git a/eos/effects/shipbonuscarrierg1fighterdamageandhitpoints.py b/eos/effects/shipbonuscarrierg1fighterdamageandhitpoints.py deleted file mode 100644 index edc2c2077..000000000 --- a/eos/effects/shipbonuscarrierg1fighterdamageandhitpoints.py +++ /dev/null @@ -1,19 +0,0 @@ -# shipBonusCarrierG1FighterDamageAndHitpoints -# -# Used by: -# Ship: Thanatos -type = "passive" - - -def handler(fit, src, context): - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityMissilesDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierG1"), skill="Gallente Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackTurretDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierG1"), skill="Gallente Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "shieldCapacity", - src.getModifiedItemAttr("shipBonusCarrierG1"), skill="Gallente Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackMissileDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierG1"), skill="Gallente Carrier") diff --git a/eos/effects/shipbonuscarrierm1fighterdamageandvelocity.py b/eos/effects/shipbonuscarrierm1fighterdamageandvelocity.py deleted file mode 100644 index d15acda6a..000000000 --- a/eos/effects/shipbonuscarrierm1fighterdamageandvelocity.py +++ /dev/null @@ -1,19 +0,0 @@ -# shipBonusCarrierM1FighterDamageAndVelocity -# -# Used by: -# Ship: Nidhoggur -type = "passive" - - -def handler(fit, src, context): - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "maxVelocity", - src.getModifiedItemAttr("shipBonusCarrierM1"), skill="Minmatar Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityMissilesDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierM1"), skill="Minmatar Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackTurretDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierM1"), skill="Minmatar Carrier") - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackMissileDamageMultiplier", - src.getModifiedItemAttr("shipBonusCarrierM1"), skill="Minmatar Carrier") diff --git a/eos/effects/shipbonusdreadcitadelcruiserofc1.py b/eos/effects/shipbonusdreadcitadelcruiserofc1.py deleted file mode 100644 index f4c82794a..000000000 --- a/eos/effects/shipbonusdreadcitadelcruiserofc1.py +++ /dev/null @@ -1,11 +0,0 @@ -# shipBonusDreadCitadelCruiseRofC1 -# -# Used by: -# Ship: Phoenix -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("XL Cruise Missiles"), - "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusC1"), - skill="Caldari Dreadnought") diff --git a/eos/effects/shipbonusdreadcitadeltorprofc1.py b/eos/effects/shipbonusdreadcitadeltorprofc1.py deleted file mode 100644 index fa1944b6d..000000000 --- a/eos/effects/shipbonusdreadcitadeltorprofc1.py +++ /dev/null @@ -1,11 +0,0 @@ -# shipBonusDreadCitadelTorpRofC1 -# -# Used by: -# Ship: Phoenix -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("XL Torpedoes"), - "speed", ship.getModifiedItemAttr("dreadnoughtShipBonusC1"), - skill="Caldari Dreadnought") diff --git a/eos/effects/shipbonusewweapondisruptionrangedisruptionrookie.py b/eos/effects/shipbonusewweapondisruptionrangedisruptionrookie.py deleted file mode 100644 index 03e07fbdb..000000000 --- a/eos/effects/shipbonusewweapondisruptionrangedisruptionrookie.py +++ /dev/null @@ -1,12 +0,0 @@ -# shipBonusEwWeaponDisruptionRangeDisruptionRookie -# -# Used by: -# Ship: Impairor -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), - "maxRangeBonus", ship.getModifiedItemAttr("rookieWeaponDisruptionBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), - "falloffBonus", ship.getModifiedItemAttr("rookieWeaponDisruptionBonus")) diff --git a/eos/effects/shipbonustitana4fleetbonus.py b/eos/effects/shipbonustitana4fleetbonus.py deleted file mode 100644 index 665ed5b3f..000000000 --- a/eos/effects/shipbonustitana4fleetbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# shipBonusTitanA4FleetBonus -# -# Used by: -# Ship: Avatar -type = "gang" -gangBoost = "rechargeRate" -gangBonus = "shipBonusTitanA4" -gangBonusSkill = "Amarr Titan" -runTime = "late" - - -def handler(fit, src, context): - if "gang" not in context: - return - fit.ship.boostItemAttr(gangBoost, - src.getModifiedItemAttr(gangBonus) * src.parent.character.getSkill(gangBonusSkill).level) diff --git a/eos/effects/shipbonustitanc4fleetbonus.py b/eos/effects/shipbonustitanc4fleetbonus.py deleted file mode 100644 index 7120e3349..000000000 --- a/eos/effects/shipbonustitanc4fleetbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# shipBonusTitanC4FleetBonus -# -# Used by: -# Ship: Leviathan -type = "gang" -gangBoost = "shieldCapacity" -gangBonus = "shipBonusTitanC4" -gangBonusSkill = "Caldari Titan" -runTime = "late" - - -def handler(fit, src, context): - if "gang" not in context: - return - fit.ship.boostItemAttr(gangBoost, - src.getModifiedItemAttr(gangBonus) * src.parent.character.getSkill(gangBonusSkill).level) diff --git a/eos/effects/shipbonustitang4fleetbonus.py b/eos/effects/shipbonustitang4fleetbonus.py deleted file mode 100644 index 1e3ab3969..000000000 --- a/eos/effects/shipbonustitang4fleetbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# shipBonusTitanG4FleetBonus -# -# Used by: -# Ship: Erebus -type = "gang" -gangBoost = "armorHP" -gangBonus = "shipBonusTitanG4" -gangBonusSkill = "Gallente Titan" -runTime = "late" - - -def handler(fit, src, context): - if "gang" not in context: - return - fit.ship.boostItemAttr(gangBoost, - src.getModifiedItemAttr(gangBonus) * src.parent.character.getSkill(gangBonusSkill).level) diff --git a/eos/effects/shipbonustitanm4fleetbonus.py b/eos/effects/shipbonustitanm4fleetbonus.py deleted file mode 100644 index 3cb74a1c9..000000000 --- a/eos/effects/shipbonustitanm4fleetbonus.py +++ /dev/null @@ -1,16 +0,0 @@ -# shipBonusTitanM4FleetBonus -# -# Used by: -# Ship: Ragnarok -type = "gang" -gangBoost = "signatureRadius" -gangBonus = "shipBonusTitanM4" -gangBonusSkill = "Minmatar Titan" -runTime = "late" - - -def handler(fit, src, context): - if "gang" not in context: - return - fit.ship.boostItemAttr(gangBoost, - src.getModifiedItemAttr(gangBonus) * src.parent.character.getSkill(gangBonusSkill).level) diff --git a/eos/effects/shipfighterbomberdamagepiratesupercarrier.py b/eos/effects/shipfighterbomberdamagepiratesupercarrier.py deleted file mode 100644 index e19eb7df1..000000000 --- a/eos/effects/shipfighterbomberdamagepiratesupercarrier.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipFighterBomberDamagePirateSupercarrier -# -# Used by: -# Ships from group: Supercarrier (5 of 5) -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), - "damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction")) diff --git a/eos/effects/shipfighterbomberhitpointspiratesupercarrier.py b/eos/effects/shipfighterbomberhitpointspiratesupercarrier.py deleted file mode 100644 index d54369c31..000000000 --- a/eos/effects/shipfighterbomberhitpointspiratesupercarrier.py +++ /dev/null @@ -1,11 +0,0 @@ -# shipFighterBomberHitpointsPirateSupercarrier -# -# Used by: -# Ships from group: Supercarrier (5 of 5) -type = "passive" - - -def handler(fit, ship, context): - for type in ("shieldCapacity", "armorHP", "hp"): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), - type, ship.getModifiedItemAttr("shipBonusPirateFaction")) diff --git a/eos/effects/shipfighterdamagepiratesupercarrier.py b/eos/effects/shipfighterdamagepiratesupercarrier.py deleted file mode 100644 index e4321a4d6..000000000 --- a/eos/effects/shipfighterdamagepiratesupercarrier.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipFighterDamagePirateSupercarrier -# -# Used by: -# Ships from group: Supercarrier (5 of 5) -type = "passive" - - -def handler(fit, ship, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), - "damageMultiplier", ship.getModifiedItemAttr("shipBonusPirateFaction")) diff --git a/eos/effects/shipfighterhitpointspiratesupercarrier.py b/eos/effects/shipfighterhitpointspiratesupercarrier.py deleted file mode 100644 index c184f8b32..000000000 --- a/eos/effects/shipfighterhitpointspiratesupercarrier.py +++ /dev/null @@ -1,11 +0,0 @@ -# shipFighterHitpointsPirateSupercarrier -# -# Used by: -# Ships from group: Supercarrier (5 of 5) -type = "passive" - - -def handler(fit, ship, context): - for type in ("shieldCapacity", "armorHP", "hp"): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighters"), - type, ship.getModifiedItemAttr("shipBonusPirateFaction")) diff --git a/eos/effects/shipremotearmorrange1.py b/eos/effects/shipremotearmorrange1.py deleted file mode 100644 index 0523c9f95..000000000 --- a/eos/effects/shipremotearmorrange1.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipRemoteArmorRange1 -# -# Used by: -# Ship: Oneiros -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer", - "maxRange", ship.getModifiedItemAttr("shipBonusGC"), skill="Gallente Cruiser") diff --git a/eos/effects/shipremotearmorrange2.py b/eos/effects/shipremotearmorrange2.py deleted file mode 100644 index f54471069..000000000 --- a/eos/effects/shipremotearmorrange2.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipRemoteArmorRange2 -# -# Used by: -# Ship: Guardian -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer", - "maxRange", ship.getModifiedItemAttr("shipBonusAC2"), skill="Amarr Cruiser") diff --git a/eos/effects/shipshieldtransferrange1.py b/eos/effects/shipshieldtransferrange1.py deleted file mode 100644 index 15d4c644d..000000000 --- a/eos/effects/shipshieldtransferrange1.py +++ /dev/null @@ -1,12 +0,0 @@ -# shipShieldTransferRange1 -# -# Used by: -# Ship: Basilisk -# Ship: Etana -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster", - "shieldTransferRange", ship.getModifiedItemAttr("shipBonusCC"), - skill="Caldari Cruiser") diff --git a/eos/effects/shipshieldtransferrange2.py b/eos/effects/shipshieldtransferrange2.py deleted file mode 100644 index f86fee17f..000000000 --- a/eos/effects/shipshieldtransferrange2.py +++ /dev/null @@ -1,11 +0,0 @@ -# shipShieldTransferRange2 -# -# Used by: -# Ship: Scimitar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster", - "shieldTransferRange", ship.getModifiedItemAttr("shipBonusMC2"), - skill="Minmatar Cruiser") diff --git a/eos/effects/shiptrackinglinkrange1fixed.py b/eos/effects/shiptrackinglinkrange1fixed.py deleted file mode 100644 index 233590460..000000000 --- a/eos/effects/shiptrackinglinkrange1fixed.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipTrackingLinkRange1Fixed -# -# Used by: -# Ship: Scimitar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer", - "maxRange", ship.getModifiedItemAttr("shipBonusMC"), skill="Minmatar Cruiser") diff --git a/eos/effects/shiptrackinglinkrange2group.py b/eos/effects/shiptrackinglinkrange2group.py deleted file mode 100644 index 42ef76a23..000000000 --- a/eos/effects/shiptrackinglinkrange2group.py +++ /dev/null @@ -1,10 +0,0 @@ -# shipTrackingLinkRange2Group -# -# Used by: -# Ship: Oneiros -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer", - "maxRange", ship.getModifiedItemAttr("shipBonusGC2"), skill="Gallente Cruiser") diff --git a/eos/effects/shirmishwarfaremindlink.py b/eos/effects/shirmishwarfaremindlink.py deleted file mode 100644 index 8b1c4ddeb..000000000 --- a/eos/effects/shirmishwarfaremindlink.py +++ /dev/null @@ -1,13 +0,0 @@ -# shirmishWarfareMindlink -# -# Used by: -# Implant: Federation Navy Warfare Mindlink -# Implant: Republic Fleet Warfare Mindlink -# Implant: Skirmish Warfare Mindlink -type = "passive" - - -def handler(fit, implant, context): - fit.character.getSkill("Skirmish Command Specialist").suppress() - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command Specialist"), - "commandBonus", implant.getModifiedItemAttr("mindlinkBonus")) diff --git a/eos/effects/siegemodeeffect6.py b/eos/effects/siegemodeeffect6.py deleted file mode 100644 index 25fc5afb4..000000000 --- a/eos/effects/siegemodeeffect6.py +++ /dev/null @@ -1,62 +0,0 @@ -# siegeModeEffect6 -# -# Used by: -# Variations of module: Siege Module I (2 of 2) -type = "active" -runTime = "early" - - -def handler(fit, module, context): - # Turrets - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret") or \ - mod.item.requiresSkill("Capital Hybrid Turret") or \ - mod.item.requiresSkill("Capital Projectile Turret"), - "damageMultiplier", module.getModifiedItemAttr("damageMultiplierBonus")) - - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret") or \ - mod.item.requiresSkill("Capital Hybrid Turret") or \ - mod.item.requiresSkill("Capital Projectile Turret"), - "trackingSpeed", module.getModifiedItemAttr("trackingSpeedBonus")) - - # Missiles - for type in ("kinetic", "thermal", "explosive", "em"): - fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("XL Torpedoes") or \ - mod.charge.requiresSkill("XL Cruise Missiles"), - "%sDamage" % type, module.getModifiedItemAttr("damageMultiplierBonus")) - - fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("XL Torpedoes") or \ - mod.charge.requiresSkill("XL Cruise Missiles"), - "aoeVelocity", module.getModifiedItemAttr("aoeVelocityBonus")) - - # Shield Boosters - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "duration", module.getModifiedItemAttr("shieldBonusDurationBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "shieldBonus", module.getModifiedItemAttr("shieldBoostMultiplier"), - stackingPenalties=True) - - # Armor Reppers - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit", - "armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit", - "duration", module.getModifiedItemAttr("armorDamageDurationBonus"), - stackingPenalties=True) - - # Speed penalty - fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor")) - - # Mass - fit.ship.multiplyItemAttr("mass", module.getModifiedItemAttr("siegeMassMultiplier")) - - # Scan resolution - fit.ship.multiplyItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionMultiplier"), - stackingPenalties=True) - - # Max locked targets - fit.ship.forceItemAttr("maxLockedTargets", module.getModifiedItemAttr("maxLockedTargets")) - - # Block Hostile EWAR and friendly effects - fit.ship.forceItemAttr("disallowOffensiveModifiers", module.getModifiedItemAttr("disallowOffensiveModifiers")) - fit.ship.forceItemAttr("disallowAssistance", module.getModifiedItemAttr("disallowAssistance")) diff --git a/eos/effects/siegesquadroncommand.py b/eos/effects/siegesquadroncommand.py deleted file mode 100644 index 017398472..000000000 --- a/eos/effects/siegesquadroncommand.py +++ /dev/null @@ -1,11 +0,0 @@ -# siegeSquadronCommand -# -# Used by: -# Skill: Siege Warfare Specialist -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command Specialist"), - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/siegewarfaremindlink.py b/eos/effects/siegewarfaremindlink.py deleted file mode 100644 index 73811fc1e..000000000 --- a/eos/effects/siegewarfaremindlink.py +++ /dev/null @@ -1,13 +0,0 @@ -# siegeWarfareMindlink -# -# Used by: -# Implant: Caldari Navy Warfare Mindlink -# Implant: Republic Fleet Warfare Mindlink -# Implant: Siege Warfare Mindlink -type = "passive" - - -def handler(fit, implant, context): - fit.character.getSkill("Shield Command Specialist").suppress() - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command Specialist"), - "commandBonus", implant.getModifiedItemAttr("mindlinkBonus")) diff --git a/eos/effects/skillbonusfightersdamage.py b/eos/effects/skillbonusfightersdamage.py deleted file mode 100644 index d9bc39cb3..000000000 --- a/eos/effects/skillbonusfightersdamage.py +++ /dev/null @@ -1,18 +0,0 @@ -# skillBonusFightersDamage -# -# Used by: -# Skill: Fighters -type = "passive" - - -def handler(fit, src, context): - lvl = src.level - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackTurretDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityMissilesDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), - "fighterAbilityAttackMissileDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) diff --git a/eos/effects/skillbonusheavyfightersdamage.py b/eos/effects/skillbonusheavyfightersdamage.py deleted file mode 100644 index d5dcca51d..000000000 --- a/eos/effects/skillbonusheavyfightersdamage.py +++ /dev/null @@ -1,18 +0,0 @@ -# skillBonusHeavyFightersDamage -# -# Used by: -# Skill: Heavy Fighters -type = "passive" - - -def handler(fit, src, context): - lvl = src.level - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Heavy Fighters"), - "fighterAbilityAttackMissileDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Heavy Fighters"), - "fighterAbilityMissilesDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Heavy Fighters"), - "fighterAbilityAttackTurretDamageMultiplier", - src.getModifiedItemAttr("damageMultiplierBonus") * lvl) diff --git a/eos/effects/skillbonuslightfightersvelocity.py b/eos/effects/skillbonuslightfightersvelocity.py deleted file mode 100644 index 4d254063a..000000000 --- a/eos/effects/skillbonuslightfightersvelocity.py +++ /dev/null @@ -1,11 +0,0 @@ -# skillBonusLightFightersVelocity -# -# Used by: -# Skill: Light Fighters -type = "passive" - - -def handler(fit, src, context): - lvl = src.level - fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Light Fighters"), "maxVelocity", - src.getModifiedItemAttr("maxVelocityBonus") * lvl) diff --git a/eos/effects/skillfighterbombersdmgbonus.py b/eos/effects/skillfighterbombersdmgbonus.py deleted file mode 100644 index 2cbb0dda9..000000000 --- a/eos/effects/skillfighterbombersdmgbonus.py +++ /dev/null @@ -1,10 +0,0 @@ -# skillFighterBombersDmgBonus -# -# Used by: -# Skill: Fighter Bombers -type = "passive" - - -def handler(fit, skill, context): - fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Fighter Bombers"), - "damageMultiplier", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level) diff --git a/eos/effects/skirmishsquadroncommand.py b/eos/effects/skirmishsquadroncommand.py deleted file mode 100644 index f5c9499be..000000000 --- a/eos/effects/skirmishsquadroncommand.py +++ /dev/null @@ -1,11 +0,0 @@ -# skirmishSquadronCommand -# -# Used by: -# Skill: Skirmish Command Specialist -runTime = "early" -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Skirmish Command Specialist"), - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/skirmishwarfareagilitybonus.py b/eos/effects/skirmishwarfareagilitybonus.py deleted file mode 100644 index d35cd2c23..000000000 --- a/eos/effects/skirmishwarfareagilitybonus.py +++ /dev/null @@ -1,12 +0,0 @@ -# skirmishWarfareAgilityBonus -# -# Used by: -# Skill: Skirmish Warfare -type = "gang" -gangBoost = "agility" -gangBonus = "agilityBonus" - - -def handler(fit, container, context): - level = container.level if "skill" in context else 1 - fit.ship.boostItemAttr(gangBoost, container.getModifiedItemAttr(gangBonus) * level, stackingPenalties=True) diff --git a/eos/effects/speedboostmassaddition.py b/eos/effects/speedboostmassaddition.py deleted file mode 100644 index f2eb76ebe..000000000 --- a/eos/effects/speedboostmassaddition.py +++ /dev/null @@ -1,14 +0,0 @@ -# speedBoostMassAddition -# -# Used by: -# Modules from group: Propulsion Module (62 of 127) -type = "active" -runTime = "late" - - -def handler(fit, module, context): - fit.ship.increaseItemAttr("mass", module.getModifiedItemAttr("massAddition")) - speedBoost = module.getModifiedItemAttr("speedFactor") - mass = fit.ship.getModifiedItemAttr("mass") - thrust = module.getModifiedItemAttr("speedBoostFactor") - fit.ship.boostItemAttr("maxVelocity", speedBoost * thrust / mass) diff --git a/eos/effects/speedboostmasssigrad.py b/eos/effects/speedboostmasssigrad.py deleted file mode 100644 index 9bf213638..000000000 --- a/eos/effects/speedboostmasssigrad.py +++ /dev/null @@ -1,16 +0,0 @@ -# speedBoostMassSigRad -# -# Used by: -# Modules from group: Propulsion Module (65 of 127) -type = "active" -runTime = "late" - - -def handler(fit, module, context): - fit.ship.increaseItemAttr("mass", module.getModifiedItemAttr("massAddition")) - speedBoost = module.getModifiedItemAttr("speedFactor") - mass = fit.ship.getModifiedItemAttr("mass") - thrust = module.getModifiedItemAttr("speedBoostFactor") - fit.ship.boostItemAttr("maxVelocity", speedBoost * thrust / mass) - fit.ship.boostItemAttr("signatureRadius", module.getModifiedItemAttr("signatureRadiusBonus"), - stackingPenalties=True) diff --git a/eos/effects/squadroncommand.py b/eos/effects/squadroncommand.py deleted file mode 100644 index 0122f88a3..000000000 --- a/eos/effects/squadroncommand.py +++ /dev/null @@ -1,10 +0,0 @@ -# squadronCommand -# -# Used by: -# Skill: Command Burst Specialist -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Gang Coordinator", - "commandBonus", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/squadroncommandhidden.py b/eos/effects/squadroncommandhidden.py deleted file mode 100644 index fe0d354bc..000000000 --- a/eos/effects/squadroncommandhidden.py +++ /dev/null @@ -1,10 +0,0 @@ -# squadronCommandHidden -# -# Used by: -# Skill: Command Burst Specialist -type = "passive" - - -def handler(fit, skill, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Gang Coordinator", - "commandBonusHidden", skill.getModifiedItemAttr("squadronCommandBonus") * skill.level) diff --git a/eos/effects/structureMissileGuidanceEnhancer.py b/eos/effects/structureMissileGuidanceEnhancer.py deleted file mode 100644 index 9a5516ada..000000000 --- a/eos/effects/structureMissileGuidanceEnhancer.py +++ /dev/null @@ -1,21 +0,0 @@ -# missileAOECloudSizeBonusOnline -# -# Used by: -# Modules from group: Missile Guidance Enhancer (3 of 3) -type = "passive" - - -def handler(fit, module, context): - groups = ("Structure Anti-Capital Missile", "Structure Anti-Subcapital Missile") - fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups, - "aoeCloudSize", module.getModifiedItemAttr("aoeCloudSizeBonus"), - stackingPenalties=True) - fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups, - "aoeVelocity", module.getModifiedItemAttr("aoeVelocityBonus"), - stackingPenalties=True) - fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups, - "explosionDelay", module.getModifiedItemAttr("explosionDelayBonus"), - stackingPenalties=True) - fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups, - "maxVelocity", module.getModifiedItemAttr("missileVelocityBonus"), - stackingPenalties=True) diff --git a/eos/effects/titanamarrgangcaprecharge2.py b/eos/effects/titanamarrgangcaprecharge2.py deleted file mode 100644 index 46a1c1589..000000000 --- a/eos/effects/titanamarrgangcaprecharge2.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanAmarrGangCapRecharge2 -# -# Used by: -# Ship: Avatar -type = "gang" -gangBoost = "rechargeRate" -gangBonus = "titanAmarrBonus2" - - -def handler(fit, ship, context): - fit.ship.boostItemAttr(gangBoost, ship.getModifiedItemAttr(gangBonus)) diff --git a/eos/effects/titanamarrlaserdmg3.py b/eos/effects/titanamarrlaserdmg3.py deleted file mode 100644 index f98d99296..000000000 --- a/eos/effects/titanamarrlaserdmg3.py +++ /dev/null @@ -1,10 +0,0 @@ -# titanAmarrLaserDmg3 -# -# Used by: -# Ship: Avatar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Energy Turret"), - "damageMultiplier", ship.getModifiedItemAttr("titanAmarrBonus3"), skill="Amarr Titan") diff --git a/eos/effects/titanamarrleadershipmoduleamount4.py b/eos/effects/titanamarrleadershipmoduleamount4.py deleted file mode 100644 index e87e8e723..000000000 --- a/eos/effects/titanamarrleadershipmoduleamount4.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanAmarrLeadershipModuleAmount4 -# -# Used by: -# Ship: Avatar -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("titanAmarrBonus4"), - skill="Amarr Titan") diff --git a/eos/effects/titanamarrskilllevel2.py b/eos/effects/titanamarrskilllevel2.py deleted file mode 100644 index 0c02a8f24..000000000 --- a/eos/effects/titanamarrskilllevel2.py +++ /dev/null @@ -1,9 +0,0 @@ -# titanAmarrSkillLevel2 -# -# Used by: -# Skill: Amarr Titan -type = "passive" - - -def handler(fit, skill, context): - fit.ship.multiplyItemAttr("titanAmarrBonus2", skill.level) diff --git a/eos/effects/titancaldarigangshieldhp2.py b/eos/effects/titancaldarigangshieldhp2.py deleted file mode 100644 index fa92c0e33..000000000 --- a/eos/effects/titancaldarigangshieldhp2.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanCaldariGangShieldHp2 -# -# Used by: -# Ship: Leviathan -type = "gang" -gangBoost = "shieldCapacity" -gangBonus = "shipBonusCT2" - - -def handler(fit, ship, context): - fit.ship.boostItemAttr(gangBoost, ship.getModifiedItemAttr(gangBonus)) diff --git a/eos/effects/titancaldarileadershipmoduleamount4.py b/eos/effects/titancaldarileadershipmoduleamount4.py deleted file mode 100644 index 0ee8df552..000000000 --- a/eos/effects/titancaldarileadershipmoduleamount4.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanCaldariLeadershipModuleAmount4 -# -# Used by: -# Ship: Leviathan -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("titanCaldariBonus4"), - skill="Caldari Titan") diff --git a/eos/effects/titancaldarimissilekineticdmg2.py b/eos/effects/titancaldarimissilekineticdmg2.py deleted file mode 100644 index 8e26a17a0..000000000 --- a/eos/effects/titancaldarimissilekineticdmg2.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanCaldariMissileKineticDmg2 -# -# Used by: -# Ship: Leviathan -type = "passive" - - -def handler(fit, ship, context): - groups = ("XL Torpedo", "XL Cruise Missile") - fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups, - "kineticDamage", ship.getModifiedItemAttr("shipBonusCT1"), skill="Caldari Titan") diff --git a/eos/effects/titancaldariskilllevel2.py b/eos/effects/titancaldariskilllevel2.py deleted file mode 100644 index 314d08a1a..000000000 --- a/eos/effects/titancaldariskilllevel2.py +++ /dev/null @@ -1,9 +0,0 @@ -# titanCaldariSkillLevel2 -# -# Used by: -# Skill: Caldari Titan -type = "passive" - - -def handler(fit, skill, context): - fit.ship.multiplyItemAttr("shipBonusCT2", skill.level) diff --git a/eos/effects/titangallentegangarmorhp2.py b/eos/effects/titangallentegangarmorhp2.py deleted file mode 100644 index eb83564a7..000000000 --- a/eos/effects/titangallentegangarmorhp2.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanGallenteGangArmorHp2 -# -# Used by: -# Ship: Erebus -type = "gang" -gangBoost = "armorHP" -gangBonus = "titanGallenteBonus2" - - -def handler(fit, ship, context): - fit.ship.boostItemAttr(gangBoost, ship.getModifiedItemAttr(gangBonus)) diff --git a/eos/effects/titangallentehybriddamage1.py b/eos/effects/titangallentehybriddamage1.py deleted file mode 100644 index 1121491e4..000000000 --- a/eos/effects/titangallentehybriddamage1.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanGallenteHybridDamage1 -# -# Used by: -# Ship: Erebus -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), - "damageMultiplier", ship.getModifiedItemAttr("titanGallenteBonus1"), - skill="Gallente Titan") diff --git a/eos/effects/titangallenteleadershipmoduleamount4.py b/eos/effects/titangallenteleadershipmoduleamount4.py deleted file mode 100644 index c58100469..000000000 --- a/eos/effects/titangallenteleadershipmoduleamount4.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanGallenteLeadershipModuleAmount4 -# -# Used by: -# Ship: Erebus -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("titanGallenteBonus4"), - skill="Gallente Titan") diff --git a/eos/effects/titangallenteskilllevel2.py b/eos/effects/titangallenteskilllevel2.py deleted file mode 100644 index 55fda8b78..000000000 --- a/eos/effects/titangallenteskilllevel2.py +++ /dev/null @@ -1,9 +0,0 @@ -# titanGallenteSkillLevel2 -# -# Used by: -# Skill: Gallente Titan -type = "passive" - - -def handler(fit, skill, context): - fit.ship.multiplyItemAttr("titanGallenteBonus2", skill.level) diff --git a/eos/effects/titanminmatargangsigradius2.py b/eos/effects/titanminmatargangsigradius2.py deleted file mode 100644 index 014642dd3..000000000 --- a/eos/effects/titanminmatargangsigradius2.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanMinmatarGangSigRadius2 -# -# Used by: -# Ship: Ragnarok -type = "gang" -gangBoost = "signatureRadius" -gangBonus = "titanMinmatarBonus2" - - -def handler(fit, ship, context): - fit.ship.boostItemAttr(gangBoost, ship.getModifiedItemAttr(gangBonus)) diff --git a/eos/effects/titanminmatarleadershipmoduleamount4.py b/eos/effects/titanminmatarleadershipmoduleamount4.py deleted file mode 100644 index beae56511..000000000 --- a/eos/effects/titanminmatarleadershipmoduleamount4.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanMinmatarLeadershipModuleAmount4 -# -# Used by: -# Ship: Ragnarok -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator", - "maxGroupActive", ship.getModifiedItemAttr("titanMinmatarBonus4"), - skill="Minmatar Titan") diff --git a/eos/effects/titanminmatarprojectiledmg3.py b/eos/effects/titanminmatarprojectiledmg3.py deleted file mode 100644 index 4b07a251b..000000000 --- a/eos/effects/titanminmatarprojectiledmg3.py +++ /dev/null @@ -1,11 +0,0 @@ -# titanMinmatarProjectileDmg3 -# -# Used by: -# Ship: Ragnarok -type = "passive" - - -def handler(fit, ship, context): - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), - "damageMultiplier", ship.getModifiedItemAttr("titanMinmatarBonus3"), - skill="Minmatar Titan") diff --git a/eos/effects/titanminmatarskilllevel2.py b/eos/effects/titanminmatarskilllevel2.py deleted file mode 100644 index cb6e27a0b..000000000 --- a/eos/effects/titanminmatarskilllevel2.py +++ /dev/null @@ -1,9 +0,0 @@ -# titanMinmatarSkillLevel2 -# -# Used by: -# Skill: Minmatar Titan -type = "passive" - - -def handler(fit, skill, context): - fit.ship.multiplyItemAttr("titanMinmatarBonus2", skill.level) diff --git a/eos/effects/triagemodeeffect3.py b/eos/effects/triagemodeeffect3.py deleted file mode 100644 index da9b55cbe..000000000 --- a/eos/effects/triagemodeeffect3.py +++ /dev/null @@ -1,84 +0,0 @@ -# triageModeEffect3 -# -# Used by: -# Module: Triage Module I -type = "active" -runTime = "early" - - -def handler(fit, module, context): - # Remote armor reps - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "duration", module.getModifiedItemAttr("remoteArmorDamageDurationBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "armorDamageAmount", module.getModifiedItemAttr("remoteArmorDamageAmountBonus"), - stackingPenalties=True) - - # Remote hull reppers - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Hull Repair Systems"), - "structureDamageAmount", module.getModifiedItemAttr("remoteHullDamageAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Hull Repair Systems"), - "duration", module.getModifiedItemAttr("remoteHullDamageDurationBonus")) - - # Shield Transporters - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "shieldBonus", module.getModifiedItemAttr("shieldTransportAmountBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "duration", module.getModifiedItemAttr("shieldTransportDurationBonus")) - - # Energy Transfer Arrays - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "powerTransferAmount", module.getModifiedItemAttr("powerTransferAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "duration", module.getModifiedItemAttr("powerTransferDurationBonus")) - - # Shield boosters - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "shieldBonus", module.getModifiedItemAttr("shieldBoostMultiplier"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "duration", module.getModifiedItemAttr("shieldBonusDurationBonus")) - - # Armor reps - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Repair Systems"), - "armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Repair Systems"), - "duration", module.getModifiedItemAttr("armorDamageDurationBonus")) - - # Speed bonus - fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"), - stackingPenalties=True) - - # Scan resolution multiplier - fit.ship.multiplyItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionMultiplier"), - stackingPenalties=True) - - # Mass multiplier - fit.ship.multiplyItemAttr("mass", module.getModifiedItemAttr("siegeMassMultiplier"), - stackingPenalties=True) - - # Lock range - fit.ship.multiplyItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeMultiplier"), - stackingPenalties=True) - - # Max locked targets - fit.ship.increaseItemAttr("maxLockedTargets", module.getModifiedItemAttr("maxLockedTargetsBonus")) - - # Block EWAR & projected effects - fit.ship.forceItemAttr("disallowOffensiveModifiers", module.getModifiedItemAttr("disallowOffensiveModifiers")) - fit.ship.forceItemAttr("disallowAssistance", module.getModifiedItemAttr("disallowAssistance")) - - # EW cap need increase - groups = [ - 'Burst Jammer', - 'Burst Projectors', - 'Weapon Disruptor', - 'ECM', - 'Stasis Grappler', - 'Remote Sensor Damper', - 'Target Painter'] - - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups or - mod.item.requiresSkill("Propulsion Jamming"), - "capacitorNeed", module.getModifiedItemAttr("ewCapacitorNeedBonus")) diff --git a/eos/effects/triagemodeeffect7.py b/eos/effects/triagemodeeffect7.py deleted file mode 100644 index 8a85f181f..000000000 --- a/eos/effects/triagemodeeffect7.py +++ /dev/null @@ -1,94 +0,0 @@ -# triageModeEffect7 -# -# Used by: -# Module: Triage Module II -type = "active" -runTime = "early" - - -def handler(fit, module, context): - # Remote armor reps - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "duration", module.getModifiedItemAttr("remoteArmorDamageDurationBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "armorDamageAmount", module.getModifiedItemAttr("remoteArmorDamageAmountBonus"), - stackingPenalties=True) - - # Remote hull reppers - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Hull Repair Systems"), - "structureDamageAmount", module.getModifiedItemAttr("remoteHullDamageAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Hull Repair Systems"), - "duration", module.getModifiedItemAttr("remoteHullDamageDurationBonus")) - - # Shield Transporters - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "shieldBonus", module.getModifiedItemAttr("shieldTransportAmountBonus"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "duration", module.getModifiedItemAttr("shieldTransportDurationBonus")) - - # Energy Transfer Arrays - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "powerTransferAmount", module.getModifiedItemAttr("powerTransferAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "duration", module.getModifiedItemAttr("powerTransferDurationBonus")) - - # Shield boosters - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "shieldBonus", module.getModifiedItemAttr("shieldBoostMultiplier"), - stackingPenalties=True) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), - "duration", module.getModifiedItemAttr("shieldBonusDurationBonus")) - - # Armor reps - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Repair Systems"), - "armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountBonus")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Repair Systems"), - "duration", module.getModifiedItemAttr("armorDamageDurationBonus")) - - # Speed bonus - fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"), - stackingPenalties=True) - - # Scan resolution multiplier - fit.ship.multiplyItemAttr("scanResolution", module.getModifiedItemAttr("scanResolutionMultiplier"), - stackingPenalties=True) - - # Mass multiplier - fit.ship.multiplyItemAttr("mass", module.getModifiedItemAttr("siegeMassMultiplier"), - stackingPenalties=True) - - # Lock range - fit.ship.multiplyItemAttr("maxTargetRange", module.getModifiedItemAttr("maxTargetRangeMultiplier"), - stackingPenalties=True) - - # Max locked targets - fit.ship.increaseItemAttr("maxLockedTargets", module.getModifiedItemAttr("maxLockedTargetsBonus")) - - # Block EWAR & projected effects - fit.ship.forceItemAttr("disallowOffensiveModifiers", module.getModifiedItemAttr("disallowOffensiveModifiers")) - fit.ship.forceItemAttr("disallowAssistance", module.getModifiedItemAttr("disallowAssistance")) - - # RR cap consumption - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Armor Repair Systems"), - "capacitorNeed", module.getModifiedItemAttr("triageRemoteModuleCapNeed")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Remote Hull Repair Systems"), - "capacitorNeed", module.getModifiedItemAttr("triageRemoteModuleCapNeed")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Emission Systems"), - "capacitorNeed", module.getModifiedItemAttr("triageRemoteModuleCapNeed")) - fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Capacitor Emission Systems"), - "capacitorNeed", module.getModifiedItemAttr("triageRemoteModuleCapNeed")) - - # EW cap need increase - groups = [ - 'ECM Burst', - 'Burst Projectors', - 'Weapon Disruptor', - 'ECM', - 'Stasis Grappler', - 'Remote Sensor Damper', - 'Target Painter'] - - fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups or - mod.item.requiresSkill("Propulsion Jamming"), - "capacitorNeed", module.getModifiedItemAttr("ewCapacitorNeedBonus")) diff --git a/eos/effects/zcolinorcacargobonus.py b/eos/effects/zcolinorcacargobonus.py deleted file mode 100644 index bd0f45aac..000000000 --- a/eos/effects/zcolinorcacargobonus.py +++ /dev/null @@ -1,8 +0,0 @@ -# zColinOrcaCargoBonus -# -# Used by: -# Ship: Orca -type = "passive" - -def handler(fit, ship, context): - pass diff --git a/eos/effects/zcolinorcaforemanmodbonus.py b/eos/effects/zcolinorcaforemanmodbonus.py deleted file mode 100644 index 8d19848fc..000000000 --- a/eos/effects/zcolinorcaforemanmodbonus.py +++ /dev/null @@ -1,9 +0,0 @@ -# zColinOrcaForemanModBonus -# -# Used by: -# Ship: Orca -type = "passive" - - -def handler(fit, ship, context): - pass diff --git a/scripts/effectUsedBy.py b/scripts/effectUsedBy.py index f42c0314c..c7fd67eb2 100755 --- a/scripts/effectUsedBy.py +++ b/scripts/effectUsedBy.py @@ -70,7 +70,9 @@ parser.add_option("-d", "--database", help="path to eve cache data dump in \ parser.add_option("-e", "--effects", help="explicit comma-separated list of \ effects to process", type="string", default="") parser.add_option("-r", "--remove", help="remove effect files that are not \ -used", action="store_true", dest="remove", default=False) +used by any items", action="store_true", dest="remove", default=False) +parser.add_option("-x", "--remove2", help="remove effect files that do not exist \ +in database", action="store_true", dest="remove2", default=False) parser.add_option("-u", "--debug", help="debug level, 0 by default", type="int", default=0) (options, args) = parser.parse_args() @@ -419,7 +421,13 @@ for effect_name in effect_list: if effect_name in globalmap_effectnameeos_effectid: effectids = globalmap_effectnameeos_effectid[effect_name] else: - print("Effect {0} not found and will be skipped".format(effect_name)) + if options.remove2: + print("Warning: effect file " + effect_name + + " exists but is not in database, removing") + os.remove(os.path.join(effects_path, effect_file)) + else: + print("Warning: effect file " + effect_name + + " exists but is not in database") continue for effectid in effectids: cursor.execute(QUERY_EFFECTID_TYPEID, (effectid,))