Merge branch 'master' into wx3

This commit is contained in:
DarkPhoenix
2015-04-28 21:53:27 +03:00
175 changed files with 250 additions and 319 deletions

View File

@@ -13,15 +13,15 @@ debug = False
saveInRoot = False
# Version data
version = "1.10.1"
version = "1.11.1"
tag = "git"
expansionName = "Scylla"
expansionName = "Mosaic"
expansionVersion = "1.0"
evemonMinVersion = "4081"
# Database version (int ONLY)
# Increment every time we need to flag for user database upgrade/modification
dbversion = 6
dbversion = 7
pyfaPath = None
savePath = None
@@ -29,6 +29,11 @@ staticPath = None
saveDB = None
gameDB = None
# TODO: move back to pyfa.py main loop
# We moved it here just to avoid rebuilding windows skeleton for now (any change to pyfa.py needs it)
import logging
logging.basicConfig()
def defPaths():
global pyfaPath
global savePath

View File

@@ -82,18 +82,25 @@ class CapSimulator(object):
if self.scale:
duration, capNeed = self.scale_activation(duration, capNeed)
if self.stagger:
duration = int(duration/amount)
else:
capNeed *= amount
period = lcm(period, duration)
# set clipSize to infinite if reloads are disabled unless it's
# a cap booster module.
if not self.reload and capNeed > 0:
clipSize = 0
if self.stagger:
if clipSize == 0:
duration = int(duration/amount)
else:
stagger_amount = (duration*clipSize+10000)/(amount*clipSize)
for i in range(1, amount):
heapq.heappush(self.state,
[i*stagger_amount, duration,
capNeed, 0, clipSize])
else:
capNeed *= amount
period = lcm(period, duration)
# period optimization doesn't work when reloads are active.
if clipSize:
disable_period = True

View File

@@ -0,0 +1,24 @@
"""
Migration 7
- Converts Scorpion Ishukone Watch to Scorpion
Mosaic introduced proper skinning system, and Ishukone Scorp
was the only ship which was presented as stand-alone ship in
Pyfa.
"""
CONVERSIONS = {
640: ( # Scorpion
4005, # Scorpion Ishukone Watch
)
}
def upgrade(saveddata_engine):
# Convert ships
for replacement_item, list in CONVERSIONS.iteritems():
for retired_item in list:
saveddata_engine.execute('UPDATE "fits" SET "shipID" = ? WHERE "shipID" = ?', (replacement_item, retired_item))

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Armor Reinforcer (57 of 57)
# Modules from group: Entosis Link (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.increaseItemAttr("mass", module.getModifiedItemAttr("massAddition"))

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Scorpion
# Ship: Scorpion Ishukone Watch
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Scorpion
# Ship: Scorpion Ishukone Watch
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Scorpion
# Ship: Scorpion Ishukone Watch
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Scorpion
# Ship: Scorpion Ishukone Watch
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -8,5 +8,5 @@ type = "active", "gang"
def handler(fit, module, context):
if "gang" not in context: return
for bonus in ("maxRangeBonus", "falloffBonus", "trackingSpeedBonus"):
fit.modules.filteredItemBoost(lambda mod: lambda mod: mod.item.requiresSkill("Weapon Disruption"),
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"),
bonus, module.getModifiedItemAttr("commandBonusTD"))

View File

@@ -1,9 +1,9 @@
# commandshipMultiRelayEffect
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ships from group: Command Ship (8 of 8)
# Ships from group: Industrial Command Ship (2 of 2)
# Ship: Orca
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Modules from group: Rig Drones (64 of 64)
# Modules named like: Optimizer (16 of 16)
type = "passive"
def handler(fit, module, context):
fit.ship.boostItemAttr("cpuOutput", module.getModifiedItemAttr("drawback"))

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Modules from group: Rig Shield (72 of 72)
# Modules named like: Optimizer (16 of 16)
type = "passive"
def handler(fit, module, context):
fit.ship.boostItemAttr("signatureRadius", module.getModifiedItemAttr("drawback"), stackingPenalties = True)

View File

@@ -1,7 +1,7 @@
# dreadnoughtMD1ProjDmgBonus
#
# Used by:
# Ships named like: Naglfar (2 of 2)
# Ship: Naglfar
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtMD3ProjRoFBonus
#
# Used by:
# Ships named like: Naglfar (2 of 2)
# Ship: Naglfar
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtShipBonusHybridDmgG1
#
# Used by:
# Ships named like: Moros (2 of 2)
# Ship: Moros
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtShipBonusHybridRoFG2
#
# Used by:
# Ships named like: Moros (2 of 2)
# Ship: Moros
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtShipBonusLaserCapNeedA1
#
# Used by:
# Ships named like: Revelation (2 of 2)
# Ship: Revelation
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtShipBonusLaserRofA2
#
# Used by:
# Ships named like: Revelation (2 of 2)
# Ship: Revelation
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Dreadnought").level

View File

@@ -1,7 +1,7 @@
# dreadnoughtShipBonusShieldResistancesC2
#
# Used by:
# Ships named like: Phoenix (2 of 2)
# Ship: Phoenix
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Dreadnought").level

View File

@@ -1,7 +1,7 @@
# eliteBargeBonusIceHarvestingCycleTimeBarge3
#
# Used by:
# Ships from group: Exhumer (4 of 4)
# Ships from group: Exhumer (3 of 3)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level

View File

@@ -1,7 +1,7 @@
# eliteBargeBonusMiningDurationBarge2
#
# Used by:
# Ships from group: Exhumer (4 of 4)
# Ships from group: Exhumer (3 of 3)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level

View File

@@ -1,7 +1,7 @@
# eliteBargeShieldResistance1
#
# Used by:
# Ships from group: Exhumer (4 of 4)
# Ships from group: Exhumer (3 of 3)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Exhumers").level

View File

@@ -1,7 +1,7 @@
# eliteBonusMaraudersCruiseAndTorpedoDamageRole1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
damageTypes = ("em", "explosive", "kinetic", "thermal")

View File

@@ -1,7 +1,7 @@
# eliteBonusMaraudersHeavyMissileDamageEMRole1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),

View File

@@ -1,7 +1,7 @@
# eliteBonusMaraudersHeavyMissileDamageExpRole1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),

View File

@@ -1,7 +1,7 @@
# eliteBonusMaraudersHeavyMissileDamageKinRole1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),

View File

@@ -1,7 +1,7 @@
# eliteBonusMaraudersHeavyMissileDamageThermRole1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Heavy Missiles"),

View File

@@ -1,7 +1,8 @@
# eliteBonusMarauderShieldBonus2a
#
# Used by:
# Ships from group: Marauder (8 of 16)
# Ship: Golem
# Ship: Vargur
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsEwTargetPainting1
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeEnergyTurretDamage1
#
# Used by:
# Ships named like: Paladin (4 of 4)
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeEnergyTurretDamageRole1
#
# Used by:
# Ships named like: Paladin (4 of 4)
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Energy Turret"),

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeHybridTurretDamageRole1
#
# Used by:
# Ships named like: Kronos (4 of 4)
# Ship: Kronos
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Hybrid Turret"),

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeHybridTurretTracking1
#
# Used by:
# Ships named like: Kronos (4 of 4)
# Ship: Kronos
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeProjectileTurretDamageRole1
#
# Used by:
# Ships named like: Vargur (4 of 4)
# Ship: Vargur
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Projectile Turret"),

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsLargeProjectileTurretTracking1
#
# Used by:
# Ships named like: Vargur (4 of 4)
# Ship: Vargur
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,8 @@
# eliteBonusViolatorsRepairSystemsArmorDamageAmount2
#
# Used by:
# Ships from group: Marauder (8 of 16)
# Ship: Kronos
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Marauders").level

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsTractorBeamMaxRangeRole2
#
# Used by:
# Ships from group: Marauder (16 of 16)
# Ships from group: Marauder (4 of 4)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",

View File

@@ -1,7 +1,7 @@
# eliteBonusViolatorsTractorBeamMaxTractorVelocityRole3
#
# Used by:
# Ships from group: Marauder (16 of 16)
# Ships from group: Marauder (4 of 4)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",

View File

@@ -1,9 +1,8 @@
# iceHarvesterCapacitorNeedMultiplier
#
# Used by:
# Ships from group: Exhumer (3 of 4)
# Ship: Procurer
# Ship: Retriever
# Variations of ship: Procurer (2 of 2)
# Variations of ship: Retriever (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Ice Harvesting"),

View File

@@ -1,9 +1,8 @@
# iceHarvesterDurationMultiplier
#
# Used by:
# Ships from group: Exhumer (3 of 4)
# Ship: Procurer
# Ship: Retriever
# Variations of ship: Procurer (2 of 2)
# Variations of ship: Retriever (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Ice Harvesting"),

View File

@@ -4,12 +4,12 @@
# Ships from group: Covert Ops (5 of 5)
# Ships named like: Stratios (2 of 2)
# 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: Astero
# Ship: Heron
# Ship: Imicus
# Ship: Magnate
# Ship: Nestor
# Ship: Probe
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1

View File

@@ -1,7 +1,7 @@
# miningDirectorBonusCommandBonusEffective
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Mining Director"),

View File

@@ -1,10 +1,9 @@
# miningYieldMultiplyPassive
#
# Used by:
# Ships from group: Exhumer (3 of 4)
# Variations of ship: Procurer (2 of 2)
# Variations of ship: Retriever (2 of 2)
# Variations of ship: Venture (2 of 2)
# Ship: Procurer
# Ship: Retriever
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Mining"),

View File

@@ -2,7 +2,7 @@
#
# Used by:
# Ships from group: Assault Frigate (8 of 12)
# Ships from group: Heavy Assault Cruiser (10 of 13)
# Ships from group: Heavy Assault Cruiser (8 of 11)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),

View File

@@ -1,7 +1,7 @@
# oreCapitalShipShieldTransferRange
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Capital Industrial Ships").level

View File

@@ -1,7 +1,7 @@
# roleBonusMarauderMJDRReactivationDelayBonus
#
# Used by:
# Ships from group: Marauder (16 of 16)
# 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",

View File

@@ -1,7 +1,7 @@
# rorqualCargoScanRangeBonus
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cargo Scanner",

View File

@@ -1,7 +1,7 @@
# rorqualSurveyScannerRangeBonus
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Survey Scanner",

View File

@@ -1,7 +1,7 @@
# shipAdvancedSpaceshipCommandAgilityBonus
#
# Used by:
# Items from market group: Ships > Capital Ships (32 of 34)
# Items from market group: Ships > Capital Ships (27 of 28)
type = "passive"
def handler(fit, ship, context):
skill = fit.character.getSkill("Advanced Spaceship Command")

View File

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

View File

@@ -1,9 +1,9 @@
# shipArmorEMResistanceAF1
#
# Used by:
# Ships named like: Punisher (3 of 3)
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level

View File

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

View File

@@ -1,9 +1,9 @@
# shipArmorEXResistanceAF1
#
# Used by:
# Ships named like: Punisher (3 of 3)
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level

View File

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

View File

@@ -1,9 +1,9 @@
# shipArmorKNResistanceAF1
#
# Used by:
# Ships named like: Punisher (3 of 3)
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level

View File

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

View File

@@ -1,7 +1,7 @@
# shipArmorRepairingGF2
#
# Used by:
# Ships named like: Incursus (3 of 3)
# Ship: Incursus
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level

View File

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

View File

@@ -1,9 +1,9 @@
# shipArmorTHResistanceAF1
#
# Used by:
# Ships named like: Punisher (3 of 3)
# Ship: Astero
# Ship: Malice
# Ship: Punisher
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level

View File

@@ -1,7 +1,7 @@
# shipBonusAoeVelocityCruiseAndTorpedoCB2
#
# Used by:
# Ships named like: Golem (4 of 4)
# Ship: Golem
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusArmorResistAB
#
# Used by:
# Ships named like: Abaddon (3 of 3)
# Ship: Abaddon
# Ship: Nestor
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,8 +1,8 @@
# shipBonusCapCapAB
#
# Used by:
# Ships named like: Paladin (4 of 4)
# Ship: Apocalypse Imperial Issue
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level

View File

@@ -3,7 +3,6 @@
# Used by:
# Variations of ship: Miasmos (3 of 4)
# Variations of ship: Nereus (2 of 2)
# Ship: Iteron Inner Zone Shipping Edition
# Ship: Iteron Mark V
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,8 +1,8 @@
# shipBonusCargoCI
#
# Used by:
# Ships named like: Tayra (2 of 2)
# Variations of ship: Badger (2 of 2)
# Ship: Tayra
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Industrial").level

View File

@@ -1,8 +1,8 @@
# shipBonusCargoMI
#
# Used by:
# Ships named like: Mammoth (2 of 2)
# Variations of ship: Wreathe (2 of 2)
# Ship: Mammoth
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Industrial").level

View File

@@ -1,7 +1,7 @@
# shipBonusDreadCitadelCruiseRofC1
#
# Used by:
# Ships named like: Phoenix (2 of 2)
# Ship: Phoenix
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Dreadnought").level

View File

@@ -1,7 +1,7 @@
# shipBonusDreadCitadelTorpRofC1
#
# Used by:
# Ships named like: Phoenix (2 of 2)
# Ship: Phoenix
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Dreadnought").level

View File

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

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Dominix Quafe Edition
# Ship: Nestor
type = "passive"
def handler(fit, ship, context):

View File

@@ -2,7 +2,8 @@
#
# Used by:
# Ships named like: Stratios (2 of 2)
# Ships named like: Vexor (3 of 4)
# Ship: Vexor
# Ship: Vexor Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level

View File

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

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Dominix Quafe Edition
# Ship: Nestor
type = "passive"
def handler(fit, ship, context):

View File

@@ -2,7 +2,8 @@
#
# Used by:
# Ships named like: Stratios (2 of 2)
# Ships named like: Vexor (3 of 4)
# Ship: Vexor
# Ship: Vexor Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level

View File

@@ -1,8 +1,8 @@
# shipBonusDroneHitpointsGF
#
# Used by:
# Ships named like: Tristan (2 of 2)
# Ship: Astero
# Ship: Tristan
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level

View File

@@ -1,7 +1,8 @@
# shipBonusDroneMiningAmountGC2
#
# Used by:
# Ships named like: Vexor (3 of 4)
# Ship: Vexor
# Ship: Vexor Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Dominix
# Ship: Dominix Quafe Edition
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Ship: Dominix
# Ship: Dominix Quafe Edition
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusDroneTrackingGF
#
# Used by:
# Ships named like: Tristan (2 of 2)
# Ship: Tristan
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level

View File

@@ -2,7 +2,7 @@
#
# Used by:
# Ships named like: Rattlesnake (2 of 2)
# Ships named like: Rokh (3 of 3)
# Ship: Rokh
# Ship: Scorpion Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

@@ -2,7 +2,7 @@
#
# Used by:
# Ships named like: Rattlesnake (2 of 2)
# Ships named like: Rokh (3 of 3)
# Ship: Rokh
# Ship: Scorpion Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
# shipBonusHTFalloffGB2
#
# Used by:
# Ships named like: Kronos (4 of 4)
# Ship: Kronos
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusHybridOptimalCB
#
# Used by:
# Ships named like: Rokh (3 of 3)
# Ship: Rokh
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Battleship").level

View File

@@ -1,10 +1,9 @@
# shipBonusHybridTrackingGF2
#
# Used by:
# Ships named like: Tristan (2 of 2)
# Ship: Ares
# Ship: Federation Navy Comet
# Ship: Police Pursuit Comet
# Ship: Tristan
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level

View File

@@ -1,7 +1,7 @@
# shipBonusIceHarvesterDurationORE3
#
# Used by:
# Ships from group: Exhumer (4 of 4)
# Ships from group: Exhumer (3 of 3)
# Ships from group: Mining Barge (3 of 3)
type = "passive"
def handler(fit, container, context):

View File

@@ -2,7 +2,7 @@
#
# Used by:
# Ships named like: Rattlesnake (2 of 2)
# Ships named like: Rokh (3 of 3)
# Ship: Rokh
# Ship: Scorpion Navy Issue
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,7 +1,7 @@
# shipBonusLargeEnergyTurretMaxRangeAB
#
# Used by:
# Ships named like: Paladin (4 of 4)
# Ship: Paladin
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level

View File

@@ -1,7 +1,8 @@
# shipBonusLargeEnergyTurretMaxRangeAB2
#
# Used by:
# Ships named like: Apocalypse (5 of 6)
# Ship: Apocalypse
# Ship: Apocalypse Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level

View File

@@ -1,7 +1,8 @@
# shipBonusLargeEnergyTurretTrackingAB
#
# Used by:
# Ships named like: Apocalypse (5 of 6)
# Ship: Apocalypse
# Ship: Apocalypse Navy Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusLargeEnergyWeaponDamageAB2
#
# Used by:
# Ships named like: Abaddon (3 of 3)
# Ship: Abaddon
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusMiningDurationORE3
#
# Used by:
# Ships from group: Exhumer (4 of 4)
# Ships from group: Exhumer (3 of 3)
# Ships from group: Mining Barge (3 of 3)
type = "passive"
def handler(fit, ship, context):

View File

@@ -1,7 +1,7 @@
# shipBonusORECapShipDroneArmorHPAndShieldHPAndHpBonus
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Capital Industrial Ships").level

View File

@@ -1,7 +1,7 @@
# shipBonusORECapShipDroneDmgBonus
#
# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Capital Industrial Ships").level

View File

@@ -2,7 +2,6 @@
#
# Used by:
# Variations of ship: Retriever (2 of 2)
# Ship: Mackinaw ORE Development Edition
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Mining Barge").level

View File

@@ -3,6 +3,7 @@
# Used by:
# Ship: Chremoas
# Ship: Dramiel
# Ship: Svipul
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),

View File

@@ -1,7 +1,7 @@
# shipBonusPTFalloffMB1
#
# Used by:
# Ships named like: Vargur (4 of 4)
# Ship: Vargur
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level

View File

@@ -1,7 +1,7 @@
# shipBonusRepairSystemsArmorRepairAmountGB2
#
# Used by:
# Ships named like: Hyperion (3 of 3)
# Ship: Hyperion
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level

View File

@@ -1,7 +1,6 @@
# shipBonusRHMLROF2CB
#
# Used by:
# Ships named like: Raven Edition (3 of 3)
# Ship: Raven
# Ship: Widow
type = "passive"

View File

@@ -1,7 +1,7 @@
# shipBonusSalvageCycleAF
#
# Used by:
# Variations of ship: Magnate (3 of 6)
# Ship: Magnate
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level

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