Merge branch 'master' into wx3
This commit is contained in:
11
config.py
11
config.py
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
24
eos/db/migrations/upgrade7.py
Normal file
24
eos/db/migrations/upgrade7.py
Normal 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))
|
||||
|
||||
@@ -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"))
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"))
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"),
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# shipBonusRHMLROF2CB
|
||||
#
|
||||
# Used by:
|
||||
# Ships named like: Raven Edition (3 of 3)
|
||||
# Ship: Raven
|
||||
# Ship: Widow
|
||||
type = "passive"
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user