Update existing items

This commit is contained in:
DarkPhoenix
2013-10-08 00:35:18 +04:00
parent fc6aa191f1
commit c8e692d8d8
73 changed files with 157 additions and 75 deletions

View File

@@ -4,4 +4,4 @@ type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Interceptors").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"trackingSpeed", ship.getModifiedItemAttr("eliteBonusInterceptor2") * level)
"damageMultiplier", ship.getModifiedItemAttr("eliteBonusInterceptor2") * level)

View File

@@ -0,0 +1,8 @@
# Used by:
# Ship: Raptor
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Interceptors").level
damageTypes = ("Em", "Explosive", "Kinetic", "Thermal")
for damageType in damageTypes:
fit.ship.boostItemAttr("shield{0}DamageResonance".format(damageType), ship.getModifiedItemAttr("eliteBonusInterceptor2") * level)

View File

@@ -1,10 +1,8 @@
# Used by:
# Ships from group: Covert Ops (5 of 5)
# Ships from group: Frigate (10 of 43)
# Subsystems named like: Electronics Emergent Locus Analyzer (4 of 4)
# Variations of ship: Heron (3 of 3)
# Variations of ship: Imicus (3 of 3)
# Variations of ship: Magnate (4 of 6)
# Variations of ship: Probe (3 of 3)
# Ship: Stratios
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1

View File

@@ -2,10 +2,12 @@
# Modules from group: Energy Weapon (100 of 183)
# Modules from group: Hybrid Weapon (110 of 199)
# Modules from group: Missile Launcher Citadel (4 of 4)
# Modules from group: Missile Launcher Cruise (20 of 20)
# Modules from group: Missile Launcher Heavy (12 of 12)
# Modules from group: Missile Launcher Rocket (14 of 14)
# Modules from group: Missile Launcher Torpedo (21 of 21)
# Modules from group: Projectile Weapon (60 of 143)
# Modules named like: Launcher (103 of 117)
# Modules named like: Missile Launcher (81 of 82)
type = "overheat"
def handler(fit, module, context):
module.boostItemAttr("speed", module.getModifiedItemAttr("overloadRofBonus"))

View File

@@ -0,0 +1,6 @@
# Used by:
# Ships from group: Marauder (4 of 4)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Micro Jump Drive",
"moduleReactivationDelay", ship.getModifiedItemAttr("roleBonusMarauder"))

View File

@@ -1,5 +1,6 @@
# Used by:
# Ship: Sacrilege
# Ship: Stratios
# Ship: Vangel
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Prophecy (3 of 3)
# Variations of ship: Prophecy (2 of 2)
# Ship: Absolution
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battlecruiser").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Prophecy (3 of 3)
# Variations of ship: Prophecy (2 of 2)
# Ship: Absolution
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battlecruiser").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Prophecy (3 of 3)
# Variations of ship: Prophecy (2 of 2)
# Ship: Absolution
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battlecruiser").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Brutix (3 of 4)
# Ship: Myrmidon
# Variations of ship: Myrmidon (2 of 2)
# Ship: Astarte
# Ship: Brutix
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battlecruiser").level

View File

@@ -5,4 +5,4 @@ def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
damageTypes = ("Em", "Explosive", "Kinetic", "Thermal")
for damageType in damageTypes:
fit.ship.boostItemAttr("armor{0}DamageResonance".format(damageType), ship.getModifiedItemAttr("shipBonus2AF") * level)
fit.ship.boostItemAttr("armor{0}DamageResonance".format(damageType), ship.getModifiedItemAttr("shipBonusAF") * level)

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Prophecy (3 of 3)
# Variations of ship: Prophecy (2 of 2)
# Ship: Absolution
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battlecruiser").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"

View File

@@ -3,5 +3,5 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Cruise Missiles"),
"emDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -3,5 +3,5 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Cruise Missiles"),
"explosiveDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -3,5 +3,5 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Cruise Missiles"),
"kineticDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -3,5 +3,5 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Cruise Missiles"),
"thermalDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -3,6 +3,5 @@
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
groups = ("Missile Launcher Torpedo", "Missile Launcher Cruise")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Cruise",
"speed", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Nestor
# Ship: Rattlesnake
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Eos
# Ship: Myrmidon
# Variations of ship: Myrmidon (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Vexor (3 of 4)
# Ship: Gila
# Ship: Stratios
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Nestor
# Ship: Rattlesnake
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Eos
# Ship: Myrmidon
# Variations of ship: Myrmidon (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Vexor (3 of 4)
# Ship: Gila
# Ship: Stratios
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Astero
# Ship: Tristan
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
# Ship: Rokh
# Ship: Scorpion Navy Issue

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
# Ship: Rokh
# Ship: Scorpion Navy Issue

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Claymore
# Ship: Cyclone
# Variations of ship: Cyclone (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"emDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"explosiveDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"kineticDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Claymore
# Ship: Cyclone
# Variations of ship: Cyclone (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),
"thermalDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -1,5 +1,4 @@
# Used by:
# Ship: Ares
# Ship: Federation Navy Comet
# Ship: Tristan
type = "passive"

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
# Ship: Rokh
# Ship: Scorpion Navy Issue

View File

@@ -1,7 +1,7 @@
# Used by:
# Ship: Crow
# Ship: Cerberus
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Interceptors").level
level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"maxVelocity", ship.getModifiedItemAttr("eliteBonusInterceptor2") * level)
"maxVelocity", ship.getModifiedItemAttr("shipBonusCC2") * level)

View File

@@ -1,7 +0,0 @@
# Used by:
# Ship: Hyena
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
"capacitorCapacityMultiplier", ship.getModifiedItemAttr("shipBonusMF") * level)

View File

@@ -1,5 +1,5 @@
# Used by:
# Variations of ship: Hurricane (2 of 2)
# Ships named like: Hurricane (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Rapid Heavy",
"speed", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -1,7 +0,0 @@
# Used by:
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"speedFactor", ship.getModifiedItemAttr("shipBonusAB") * level)

View File

@@ -1,7 +0,0 @@
# Used by:
# Ship: Kronos
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web",
"speedFactor", ship.getModifiedItemAttr("shipBonusGB2") * level)

View File

@@ -1,5 +1,5 @@
# Used by:
# Ship: Vigil
# Variations of ship: Vigil (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
# Ship: Rokh
# Ship: Scorpion Navy Issue

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"emDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"explosiveDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"kineticDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Torpedoes"),
"thermalDamage", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -0,0 +1,7 @@
# Used by:
# Ship: Typhoon
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Missile Launcher Torpedo",
"speed", ship.getModifiedItemAttr("shipBonusMB") * level)

View File

@@ -1,5 +1,5 @@
# Used by:
# Variations of ship: Brutix (3 of 4)
# Variations of ship: Brutix (3 of 3)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battlecruiser").level

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Ferox
# Ship: Vulture
# Variations of ship: Ferox (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battlecruiser").level

View File

@@ -1,5 +1,5 @@
# Used by:
# Variations of ship: Harbinger (2 of 2)
# Ships named like: Harbinger (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battlecruiser").level

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Caracal
# Ship: Cerberus
# Ship: Osprey Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Caracal
# Ship: Cerberus
# Ship: Osprey Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

@@ -2,7 +2,6 @@
# Ship: Buzzard
# Ship: Caldari Navy Hookbill
# Ship: Condor
# Ship: Crow
# Ship: Hawk
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,6 +1,5 @@
# Used by:
# Ship: Caracal
# Ship: Cerberus
# Ship: Osprey Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Malediction
# Ship: Vengeance
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Crow
# Ship: Kestrel
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Nestor
# Ship: Rattlesnake
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,5 +1,5 @@
# Used by:
# Variations of ship: Hurricane (2 of 2)
# Ships named like: Hurricane (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level

View File

@@ -1,8 +1,7 @@
# Used by:
# Variations of ship: Rifter (3 of 3)
# Variations of ship: Slasher (3 of 3)
# Ship: Republic Fleet Firetail
# Ship: Slasher
# Ship: Stiletto
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level

View File

@@ -1,5 +1,7 @@
# Used by:
# Ship: Astero
# Ship: Gnosis
# Ship: Stratios
type = "passive"
def handler(fit, container, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Astrometrics"),

View File

@@ -1,5 +1,6 @@
# Used by:
# Variations of ship: Cyclone (3 of 3)
# Variations of ship: Cyclone (2 of 2)
# Ship: Sleipnir
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Ferox (3 of 3)
# Variations of ship: Ferox (2 of 2)
# Ship: Drake
# Ship: Nighthawk
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Ferox (3 of 3)
# Variations of ship: Ferox (2 of 2)
# Ship: Drake
# Ship: Nighthawk
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Ferox (3 of 3)
# Variations of ship: Ferox (2 of 2)
# Ship: Drake
# Ship: Nighthawk
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battlecruiser").level

View File

@@ -1,6 +1,7 @@
# Used by:
# Variations of ship: Ferox (3 of 3)
# Variations of ship: Ferox (2 of 2)
# Ship: Drake
# Ship: Nighthawk
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battlecruiser").level

View File

@@ -1,9 +1,9 @@
# Used by:
# Ship: Malediction
# Ship: Ares
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
level = fit.character.getSkill("Gallente Frigate").level
damageTypes = ("em", "explosive", "kinetic", "thermal")
for damageType in damageTypes:
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Rockets"),
"{0}Damage".format(damageType), ship.getModifiedItemAttr("shipBonusAF") * level)
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"),
"{0}Damage".format(damageType), ship.getModifiedItemAttr("shipBonusGF2") * level)

View File

@@ -1,4 +1,5 @@
# Used by:
# Ship: Crow
# Ship: Kestrel
type = "passive"
def handler(fit, ship, context):

View File

@@ -2,7 +2,7 @@
# Modules from group: Missile Launcher Citadel (4 of 4)
# Modules from group: Missile Launcher Heavy (12 of 12)
# Modules from group: Missile Launcher Rocket (14 of 14)
# Modules named like: Launcher (117 of 117)
# Modules named like: Launcher (136 of 136)
type = 'active'
def handler(fit, module, context):
# Set reload time to 10 seconds