Compare commits

...

6 Commits

Author SHA1 Message Date
blitzmann
e7780485f1 Bump release 2016-07-03 00:41:21 -04:00
blitzmann
7831999563 Update effect headers 2016-07-03 00:40:10 -04:00
blitzmann
7020f4bda9 Fix compare when item doesn't have a meta (#667) 2016-07-03 00:38:22 -04:00
Ryan Holmes
dcd21bd165 Merge pull request #669 from Ebag333/VehementDPSEffectsFile
Fixed type of weapon
2016-07-03 00:26:58 -04:00
Ebag333
4a70028762 Fixed type of weapon
Used to be applied to Naglfar, but everyone knows that Vehement is the
new Naglfar, and never use projectiles after memorial day (only
hybrids).
2016-07-02 01:02:03 -07:00
blitzmann
9255a9e638 bump dev 2016-07-01 23:38:06 -04:00
43 changed files with 107 additions and 28 deletions

View File

@@ -18,7 +18,7 @@ debug = False
saveInRoot = False
# Version data
version = "1.22.0"
version = "1.22.1"
tag = "Stable"
expansionName = "YC 118.6"
expansionVersion = "1.0"

View File

@@ -1,7 +1,7 @@
# boosterArmorHpPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("armorHP", booster.getModifiedItemAttr("boosterArmorHPPenalty"))

View File

@@ -1,7 +1,9 @@
# boosterArmorRepairAmountPenalty
#
# Used by:
# Implants from group: Booster (9 of 42)
# Implants named like: Drop Booster (3 of 4)
# Implants named like: Mindflood Booster (3 of 4)
# Implants named like: Sooth Sayer Booster (3 of 4)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Unit",

View File

@@ -1,7 +1,7 @@
# boosterMaxVelocityPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("maxVelocity", booster.getModifiedItemAttr("boosterMaxVelocityPenalty"))

View File

@@ -1,7 +1,7 @@
# boosterShieldCapacityPenalty
#
# Used by:
# Implants from group: Booster (12 of 42)
# Implants from group: Booster (12 of 45)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.ship.boostItemAttr("shieldCapacity", booster.getModifiedItemAttr("boosterShieldCapacityPenalty"))

View File

@@ -1,7 +1,9 @@
# boosterTurretOptimalRangePenalty
#
# Used by:
# Implants from group: Booster (9 of 42)
# Implants named like: Blue Pill Booster (3 of 5)
# Implants named like: Mindflood Booster (3 of 4)
# Implants named like: Sooth Sayer Booster (3 of 4)
type = "boosterSideEffect"
def handler(fit, booster, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Gunnery"),

View File

@@ -1,7 +1,7 @@
# doHacking
#
# Used by:
# Modules from group: Data Miners (13 of 14)
# Modules from group: Data Miners (15 of 16)
# Module: QA Cross Protocol Analyzer
type = "active"
def handler(fit, module, context):

View File

@@ -1,3 +1,7 @@
# entityECMFalloff
#
# Used by:
# Drones named like: EC (3 of 3)
type = "projected", "active"
def handler(fit, module, context):
if "projected" in context:

View File

@@ -1,7 +1,7 @@
# energyNeutralizerFalloff
# entityEnergyNeutralizerFalloff
#
# Used by:
# Modules from group: Energy Neutralizer (51 of 51)
# Drones from group: Energy Neutralizer Drone (3 of 3)
from eos.types import State
type = "active", "projected"
def handler(fit, container, context):

View File

@@ -1,8 +1,12 @@
# entosisDurationMultiply
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Items from market group: Ships > Capital Ships (22 of 32)
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Force Auxiliary (4 of 4)
# Ships from group: Supercarrier (6 of 6)
# Ships from group: Titan (5 of 5)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Infomorph Psychology"),

View File

@@ -1,7 +1,4 @@
# rigDrawbackBonusEffect
#
# Used by:
# Skills from group: Rigging (9 of 10)
# Not used by any item
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill(skill),

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionArmor
#
# Used by:
# Skill: Armor Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionAstronautics
#
# Used by:
# Skill: Astronautics Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionDrones
#
# Used by:
# Skill: Drones Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionElectronic
#
# Used by:
# Skill: Electronic Superiority Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionEnergyWeapon
#
# Used by:
# Skill: Energy Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionHybrid
#
# Used by:
# Skill: Hybrid Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionLauncher
#
# Used by:
# Skill: Launcher Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionProjectile
#
# Used by:
# Skill: Projectile Weapon Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,3 +1,7 @@
# rigDrawbackReductionShield
#
# Used by:
# Skill: Shield Rigging
type = "passive"
def handler(fit, src, context):
lvl = src.level

View File

@@ -1,7 +1,7 @@
# scanStrengthBonusPercentPassive
#
# Used by:
# Implants named like: High grade (20 of 60)
# Implants named like: High grade (20 of 61)
type = "passive"
def handler(fit, implant, context):
for type in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):

View File

@@ -1,8 +1,8 @@
# shieldCapacityBonusOnline
#
# Used by:
# Modules from group: Shield Resistance Amplifier (88 of 88)
# Modules from group: Shield Extender (33 of 33)
# Modules from group: Shield Resistance Amplifier (88 of 88)
type = "passive"
def handler(fit, module, context):
fit.ship.increaseItemAttr("shieldCapacity", module.getModifiedItemAttr("capacityBonus"))

View File

@@ -1,7 +1,9 @@
# shipAdvancedSpaceshipCommandAgilityBonus
#
# Used by:
# Items from market group: Ships > Capital Ships (31 of 32)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Titan (5 of 5)
# Items from market group: Ships > Capital Ships (32 of 33)
type = "passive"
def handler(fit, ship, context):
skillName = "Advanced Spaceship Command"

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Moros
# Ship: Vehement
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "speed", src.getModifiedItemAttr("shipBonusDreadnoughtG2"), skill="Gallente Dreadnought")

View File

@@ -1,3 +1,7 @@
# shipBonusDreadnoughtM1WebBonus
#
# Used by:
# Ship: Vehement
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusDreadnoughtM1"), skill="Minmatar Dreadnought")

View File

@@ -1,7 +1,9 @@
# shipBonusDreadnoughtRole1DamageBonus
#
# Used by:
# Ship: Naglfar
# Ship: Vehement
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole1"))
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusRole1"))

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "fighterAbilityAttackTurretDamageMultiplier", src.getModifiedItemAttr("shipBonusSupercarrierG1"), skill="Gallente Carrier")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "shieldCapacity", src.getModifiedItemAttr("shipBonusSupercarrierG2"), skill="Gallente Carrier")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Nyx
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusSupercarrierG3"), skill="Gallente Carrier")

View File

@@ -1,3 +1,8 @@
# shipBonusSupercarrierM1BurstProjectorWebBonus
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Burst Projector Operation"), "speedFactor", src.getModifiedItemAttr("shipBonusSupercarrierM1"), skill="Minmatar Carrier")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.fighters.filteredItemBoost(lambda mod: mod.item.requiresSkill("Fighters"), "maxVelocity", src.getModifiedItemAttr("shipBonusSupercarrierM2"), skill="Minmatar Carrier")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Hel
# Ship: Vendetta
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusSupercarrierM3"), skill="Minmatar Carrier")

View File

@@ -1,7 +1,7 @@
# shipBonusSupercarrierRole1NumWarfareLinks
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Supercarrier (6 of 6)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("shipBonusRole1"))

View File

@@ -1,7 +1,7 @@
# shipBonusSupercarrierRole2ArmorShieldModuleBonus
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Ships from group: Supercarrier (6 of 6)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "armorHPBonusAdd", src.getModifiedItemAttr("shipBonusRole2"))

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Erebus
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "speed", src.getModifiedItemAttr("shipBonusTitanG2"), skill="Gallente Titan")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Erebus
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusTitanG3"), skill="Gallente Titan")

View File

@@ -1,3 +1,7 @@
# shipBonusTitanM1WebBonus
#
# Used by:
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Stasis Web", "speedFactor", src.getModifiedItemAttr("shipBonusTitanM1"), skill="Minmatar Titan")

View File

@@ -2,6 +2,7 @@
#
# Used by:
# Ship: Ragnarok
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.ship.increaseItemAttr("warpScrambleStatus", src.getModifiedItemAttr("shipBonusTitanM3"), skill="Minmatar Titan")

View File

@@ -1,7 +1,7 @@
# shipBonusTitanRole1NumWarfareLinks
#
# Used by:
# Ships from group: Titan (4 of 4)
# Ships from group: Titan (5 of 5)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("shipBonusRole1"))

View File

@@ -1,7 +1,7 @@
# shipBonusTitanRole2ArmorShieldModuleBonus
#
# Used by:
# Ships from group: Titan (4 of 4)
# Ships from group: Titan (5 of 5)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "armorHPBonusAdd", src.getModifiedItemAttr("shipBonusRole2"))

View File

@@ -1,3 +1,7 @@
# shipBonusTitanRole3DamageBonus
#
# Used by:
# Ship: Vanquisher
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Hybrid Turret"), "damageMultiplier", src.getModifiedItemAttr("shipBonusRole3"))

View File

@@ -1,8 +1,12 @@
# shipCapitalAgilityBonus
#
# Used by:
# Ships from group: Supercarrier (5 of 5)
# Items from market group: Ships > Capital Ships (22 of 32)
# Ships from group: Carrier (4 of 4)
# Ships from group: Dreadnought (5 of 5)
# Ships from group: Force Auxiliary (4 of 4)
# Ships from group: Supercarrier (6 of 6)
# Ships from group: Titan (5 of 5)
# Ship: Rorqual
type = "passive"
def handler(fit, src, context):
fit.ship.multiplyItemAttr("agility", src.getModifiedItemAttr("advancedCapitalAgility"), stackingPenalties=True)

View File

@@ -481,7 +481,7 @@ class ItemCompare(wx.Panel):
self.toggleView = 1
self.stuff = stuff
self.item = item
self.items = sorted(items, key=lambda x: x.attributes['metaLevel'].value)
self.items = sorted(items, key=lambda x: x.attributes['metaLevel'].value if 'metaLevel' in x.attributes else None)
self.attrs = {}
# get a dict of attrName: attrInfo of all unique attributes across all items