Group renames

This commit is contained in:
blitzmann
2016-04-06 00:22:19 -04:00
parent 9c33947a45
commit 8ed485df0e
8 changed files with 14 additions and 14 deletions

View File

@@ -4,5 +4,5 @@
# Skill: Advanced Drone Interfacing
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Drone Control Unit",
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Fighter Support Unit",
"maxGroupActive", skill.level)

View File

@@ -4,5 +4,5 @@
# Implants named like: grade Centurion (10 of 12)
type = "passive"
def handler(fit, implant, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote ECM Burst",
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Burst Projectors",
"maxRange", implant.getModifiedItemAttr("rangeSkillBonus"))

View File

@@ -4,5 +4,5 @@
# Skill: Burst Projector Operation
type = "passive"
def handler(fit, skill, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote ECM Burst",
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Burst Projectors",
"duration", skill.getModifiedItemAttr("projECMDurationBonus") * skill.level)

View File

@@ -4,6 +4,6 @@
# Ship: Leviathan
type = "passive"
def handler(fit, ship, context):
groups = ("Capital Torpedo", "Capital Cruise")
groups = ("XL Torpedo", "XL Cruise Missile")
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name in groups,
"kineticDamage", ship.getModifiedItemAttr("shipBonusCT1"), skill="Caldari Titan")

View File

@@ -70,7 +70,7 @@ def handler(fit, module, context):
# EW cap need increase
groups = [
'Burst Jammer',
'Remote ECM Burst',
'Burst Projectors',
'Weapon Disruptor',
'ECM',
'Remote Sensor Damper',

View File

@@ -80,7 +80,7 @@ def handler(fit, module, context):
# EW cap need increase
groups = [
'ECM Burst',
'Remote ECM Burst',
'Burst Projectors',
'Weapon Disruptor',
'ECM',
'Remote Sensor Damper',

View File

@@ -754,20 +754,20 @@ class Fit(object):
repairers = []
#Map a repairer type to the attribute it uses
groupAttrMap = {"Armor Repair Unit": "armorDamageAmount",
"Fueled Armor Repairer": "armorDamageAmount",
"Ancillary Armor Repairer": "armorDamageAmount",
"Hull Repair Unit": "structureDamageAmount",
"Shield Booster": "shieldBonus",
"Fueled Shield Booster": "shieldBonus",
"Ancillary Shield Booster": "shieldBonus",
"Remote Armor Repairer": "armorDamageAmount",
"Remote Shield Booster": "shieldBonus"}
#Map repairer type to attribute
groupStoreMap = {"Armor Repair Unit": "armorRepair",
"Hull Repair Unit": "hullRepair",
"Shield Booster": "shieldRepair",
"Fueled Shield Booster": "shieldRepair",
"Ancillary Shield Booster": "shieldRepair",
"Remote Armor Repairer": "armorRepair",
"Remote Shield Booster": "shieldRepair",
"Fueled Armor Repairer": "armorRepair",}
"Ancillary Armor Repairer": "armorRepair",}
capUsed = self.capUsed
for attr in ("shieldRepair", "armorRepair", "hullRepair"):