Remove effect files for effects that no longer exist
This commit is contained in:
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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"))
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -1,9 +0,0 @@
|
||||
# ecmBurst
|
||||
#
|
||||
# Used by:
|
||||
# Modules from group: Burst Jammer (11 of 11)
|
||||
type = "active"
|
||||
|
||||
|
||||
def handler(fit, module, context):
|
||||
pass
|
||||
@@ -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)
|
||||
@@ -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
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -1,6 +0,0 @@
|
||||
# Not used by any item
|
||||
type = 'active'
|
||||
|
||||
|
||||
def handler(fit, module, context):
|
||||
pass
|
||||
@@ -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")
|
||||
@@ -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)
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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")
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
@@ -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)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user