Handle renames of items and groups

This commit is contained in:
DarkPhoenix
2013-08-21 01:07:27 +04:00
parent deed271073
commit 5c073dc83f
49 changed files with 60 additions and 60 deletions

View File

@@ -5,5 +5,5 @@
# Ship: Navitas # Ship: Navitas
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"maxRange", ship.getModifiedItemAttr("maxRangeBonus")) "maxRange", ship.getModifiedItemAttr("maxRangeBonus"))

View File

@@ -4,7 +4,7 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Carrier").level level = fit.character.getSkill("Minmatar Carrier").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldBonus", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level) "shieldBonus", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level)
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level) "armorDamageAmount", ship.getModifiedItemAttr("carrierMinmatarBonus2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -4,5 +4,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -4,5 +4,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "capacitorNeed", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"falloffBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "falloffBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"falloffBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "falloffBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"maxRangeBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "maxRangeBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"maxRangeBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "maxRangeBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"trackingSpeedBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level) "trackingSpeedBonus", ship.getModifiedItemAttr("eliteBonusLogistics1") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Logistics").level level = fit.character.getSkill("Logistics").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"trackingSpeedBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level) "trackingSpeedBonus", ship.getModifiedItemAttr("eliteBonusLogistics2") * level)

View File

@@ -5,5 +5,5 @@
type = "passive" type = "passive"
def handler(fit, container, context): def handler(fit, container, context):
level = container.level if "skill" in context else 1 level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Energy Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capacitor Emission Systems"),
"capacitorNeed", container.getModifiedItemAttr("capNeedBonus") * level) "capacitorNeed", container.getModifiedItemAttr("capNeedBonus") * level)

View File

@@ -3,5 +3,5 @@
# Ship: Osprey # Ship: Osprey
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"powerTransferRange", ship.getModifiedItemAttr("maxRangeBonus")) "powerTransferRange", ship.getModifiedItemAttr("maxRangeBonus"))

View File

@@ -3,5 +3,5 @@
# Ship: Osprey # Ship: Osprey
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"powerTransferAmount", ship.getModifiedItemAttr("energyTransferAmountBonus")) "powerTransferAmount", ship.getModifiedItemAttr("energyTransferAmountBonus"))

View File

@@ -2,5 +2,5 @@
# Ships from group: Logistics (3 of 5) # Ships from group: Logistics (3 of 5)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"power", ship.getModifiedItemAttr("powerTransferPowerNeedBonus")) "power", ship.getModifiedItemAttr("powerTransferPowerNeedBonus"))

View File

@@ -3,5 +3,5 @@
# Ship: Oneiros # Ship: Oneiros
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"power", ship.getModifiedItemAttr("remoteArmorPowerNeedBonus")) "power", ship.getModifiedItemAttr("remoteArmorPowerNeedBonus"))

View File

@@ -2,5 +2,5 @@
# Implants named like: Talisman (10 of 12) # Implants named like: Talisman (10 of 12)
type = "passive" type = "passive"
def handler(fit, implant, context): def handler(fit, implant, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Energy Emission Systems"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capacitor Emission Systems"),
"duration", implant.getModifiedItemAttr("durationBonus")) "duration", implant.getModifiedItemAttr("durationBonus"))

View File

@@ -2,5 +2,5 @@
# Ships from group: Logistics (3 of 5) # Ships from group: Logistics (3 of 5)
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"cpu", ship.getModifiedItemAttr("shieldTransportCpuNeedBonus")) "cpu", ship.getModifiedItemAttr("shieldTransportCpuNeedBonus"))

View File

@@ -5,5 +5,5 @@
# Ship: Scythe # Ship: Scythe
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldTransferRange", ship.getModifiedItemAttr("maxRangeBonus")) "shieldTransferRange", ship.getModifiedItemAttr("maxRangeBonus"))

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("shipBonus2AF") * level) "armorDamageAmount", ship.getModifiedItemAttr("shipBonus2AF") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Cruiser").level level = fit.character.getSkill("Amarr Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusAC2") * level) "armorDamageAmount", ship.getModifiedItemAttr("shipBonusAC2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level level = fit.character.getSkill("Gallente Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusGC2") * level) "armorDamageAmount", ship.getModifiedItemAttr("shipBonusGC2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level level = fit.character.getSkill("Gallente Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusGF2") * level) "armorDamageAmount", ship.getModifiedItemAttr("shipBonusGF2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Cruiser").level level = fit.character.getSkill("Amarr Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusAC") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusAC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusAF") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusAF") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level level = fit.character.getSkill("Gallente Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusGC") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusGC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level level = fit.character.getSkill("Gallente Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusGF") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusGF") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"capacitorNeed", ship.getModifiedItemAttr("shipBonusCC") * level) "capacitorNeed", ship.getModifiedItemAttr("shipBonusCC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Cruiser").level level = fit.character.getSkill("Amarr Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"powerTransferRange", ship.getModifiedItemAttr("shipBonusAC") * level) "powerTransferRange", ship.getModifiedItemAttr("shipBonusAC") * level)

View File

@@ -4,5 +4,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Transfer Array", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"powerTransferRange", ship.getModifiedItemAttr("shipBonusCC2") * level) "powerTransferRange", ship.getModifiedItemAttr("shipBonusCC2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level level = fit.character.getSkill("Gallente Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"maxRange", ship.getModifiedItemAttr("shipBonusGC") * level) "maxRange", ship.getModifiedItemAttr("shipBonusGC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Cruiser").level level = fit.character.getSkill("Amarr Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"maxRange", ship.getModifiedItemAttr("shipBonusAC2") * level) "maxRange", ship.getModifiedItemAttr("shipBonusAC2") * level)

View File

@@ -4,5 +4,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Cruiser").level level = fit.character.getSkill("Caldari Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldTransferRange", ship.getModifiedItemAttr("shipBonusCC") * level) "shieldTransferRange", ship.getModifiedItemAttr("shipBonusCC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Cruiser").level level = fit.character.getSkill("Minmatar Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldTransferRange", ship.getModifiedItemAttr("shipBonusMC2") * level) "shieldTransferRange", ship.getModifiedItemAttr("shipBonusMC2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Cruiser").level level = fit.character.getSkill("Minmatar Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"maxRange", ship.getModifiedItemAttr("shipBonusMC") * level) "maxRange", ship.getModifiedItemAttr("shipBonusMC") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, ship, context): def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level level = fit.character.getSkill("Gallente Cruiser").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Link", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Tracking Computer",
"maxRange", ship.getModifiedItemAttr("shipBonusGC2") * level) "maxRange", ship.getModifiedItemAttr("shipBonusGC2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Amarr Defensive Systems").level level = fit.character.getSkill("Amarr Defensive Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusAmarrDefensive2") * level) "armorDamageAmount", module.getModifiedItemAttr("subsystemBonusAmarrDefensive2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Caldari Defensive Systems").level level = fit.character.getSkill("Caldari Defensive Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldBonus", module.getModifiedItemAttr("subsystemBonusCaldariDefensive2") * level) "shieldBonus", module.getModifiedItemAttr("subsystemBonusCaldariDefensive2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Gallente Defensive Systems").level level = fit.character.getSkill("Gallente Defensive Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusGallenteDefensive2") * level) "armorDamageAmount", module.getModifiedItemAttr("subsystemBonusGallenteDefensive2") * level)

View File

@@ -3,5 +3,5 @@
type = "passive" type = "passive"
def handler(fit, module, context): def handler(fit, module, context):
level = fit.character.getSkill("Minmatar Defensive Systems").level level = fit.character.getSkill("Minmatar Defensive Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldBonus", module.getModifiedItemAttr("subsystemBonusMinmatarDefensive2") * level) "shieldBonus", module.getModifiedItemAttr("subsystemBonusMinmatarDefensive2") * level)

View File

@@ -4,5 +4,5 @@
type = "passive" type = "passive"
def handler(fit, container, context): def handler(fit, container, context):
level = container.level if "skill" in context else 1 level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Electronics"), fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("CPU Management"),
"duration", container.getModifiedItemAttr("scanspeedBonus") * level) "duration", container.getModifiedItemAttr("scanspeedBonus") * level)

View File

@@ -3,5 +3,5 @@
runTime = "early" runTime = "early"
type = ("projected", "offline") type = ("projected", "offline")
def handler(fit, module, context): def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Armor Repair Projector", fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Armor Repairer",
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplierRemote")) "armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplierRemote"))

View File

@@ -3,5 +3,5 @@
runTime = "early" runTime = "early"
type = ("projected", "offline") type = ("projected", "offline")
def handler(fit, module, context): def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Shield Transporter", fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Shield Booster",
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplierRemote")) "shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplierRemote"))

View File

@@ -950,15 +950,15 @@ class Fit(object):
"Hull Repair Unit": "structureDamageAmount", "Hull Repair Unit": "structureDamageAmount",
"Shield Booster": "shieldBonus", "Shield Booster": "shieldBonus",
"Fueled Shield Booster": "shieldBonus", "Fueled Shield Booster": "shieldBonus",
"Armor Repair Projector": "armorDamageAmount", "Remote Armor Repairer": "armorDamageAmount",
"Shield Transporter": "shieldBonus"} "Remote Shield Booster": "shieldBonus"}
#Map repairer type to attribute #Map repairer type to attribute
groupStoreMap = {"Armor Repair Unit": "armorRepair", groupStoreMap = {"Armor Repair Unit": "armorRepair",
"Hull Repair Unit": "hullRepair", "Hull Repair Unit": "hullRepair",
"Shield Booster": "shieldRepair", "Shield Booster": "shieldRepair",
"Fueled Shield Booster": "shieldRepair", "Fueled Shield Booster": "shieldRepair",
"Armor Repair Projector": "armorRepair", "Remote Armor Repairer": "armorRepair",
"Shield Transporter": "shieldRepair", "Remote Shield Booster": "shieldRepair",
"Fueled Armor Repairer": "armorRepair",} "Fueled Armor Repairer": "armorRepair",}
capUsed = self.capUsed capUsed = self.capUsed

View File

@@ -242,7 +242,7 @@ class Miscellanea(ViewColumn):
text = "{0}s".format(formatAmount(float(recalibration)/1000, 3, 0, 3)) text = "{0}s".format(formatAmount(float(recalibration)/1000, 3, 0, 3))
tooltip = "Sensor recalibration time" tooltip = "Sensor recalibration time"
return text, tooltip return text, tooltip
elif itemGroup == "Armor Repair Projector": elif itemGroup == "Remote Armor Repairer":
repAmount = stuff.getModifiedItemAttr("armorDamageAmount") repAmount = stuff.getModifiedItemAttr("armorDamageAmount")
cycleTime = stuff.getModifiedItemAttr("duration") cycleTime = stuff.getModifiedItemAttr("duration")
if not repAmount or not cycleTime: if not repAmount or not cycleTime:
@@ -251,7 +251,7 @@ class Miscellanea(ViewColumn):
text = "{0}/s".format(formatAmount(repPerSec, 3, 0, 3, forceSign=True)) text = "{0}/s".format(formatAmount(repPerSec, 3, 0, 3, forceSign=True))
tooltip = "Armor repaired per second" tooltip = "Armor repaired per second"
return text, tooltip return text, tooltip
elif itemGroup == "Shield Transporter": elif itemGroup == "Remote Shield Booster":
repAmount = stuff.getModifiedItemAttr("shieldBonus") repAmount = stuff.getModifiedItemAttr("shieldBonus")
cycleTime = stuff.cycleTime cycleTime = stuff.cycleTime
if not repAmount or not cycleTime: if not repAmount or not cycleTime:
@@ -260,7 +260,7 @@ class Miscellanea(ViewColumn):
text = "{0}/s".format(formatAmount(repPerSec, 3, 0, 3, forceSign=True)) text = "{0}/s".format(formatAmount(repPerSec, 3, 0, 3, forceSign=True))
tooltip = "Shield transferred per second" tooltip = "Shield transferred per second"
return text, tooltip return text, tooltip
elif itemGroup == "Energy Transfer Array": elif itemGroup == "Remote Capacitor Transmitter":
repAmount = stuff.getModifiedItemAttr("powerTransferAmount") repAmount = stuff.getModifiedItemAttr("powerTransferAmount")
cycleTime = stuff.cycleTime cycleTime = stuff.cycleTime
if not repAmount or not cycleTime: if not repAmount or not cycleTime:

View File

@@ -213,9 +213,9 @@ class Market():
"Sukuuvestaa Heron": False, # Vanity "Sukuuvestaa Heron": False, # Vanity
"Inner Zone Shipping Imicus": False, # Vanity "Inner Zone Shipping Imicus": False, # Vanity
"Vherokior Probe": False, # Vanity "Vherokior Probe": False, # Vanity
"Iteron Mark IV Quafe Ultra Edition": False, # Vanity "Miasmos Quafe Ultra Edition": False, # Vanity
"Iteron Mark IV Quafe Ultramarine Edition": False, # Vanity "Miasmos Quafe Ultramarine Edition": False, # Vanity
"Iteron Mark IV Amastris Edition": False, # Vanity "Miasmos Amastris Edition": False, # Vanity
"Goru's Shuttle": False, # Vanity "Goru's Shuttle": False, # Vanity
"Guristas Shuttle": False, # Vanity "Guristas Shuttle": False, # Vanity
"Tash-Murkon Magnate": False, # Vanity "Tash-Murkon Magnate": False, # Vanity
@@ -257,9 +257,9 @@ class Market():
"Civilian Hobgoblin": 837, # Drones > Combat Drones > Light Scout Drones "Civilian Hobgoblin": 837, # Drones > Combat Drones > Light Scout Drones
"Civilian Kinetic Deflection Field": 760, # Ship Equipment > Civilian Modules "Civilian Kinetic Deflection Field": 760, # Ship Equipment > Civilian Modules
"Civilian Light Missile Launcher": 760, # Ship Equipment > Civilian Modules "Civilian Light Missile Launcher": 760, # Ship Equipment > Civilian Modules
"Civilian Remote Armor Repair System": 760, # Ship Equipment > Civilian Modules
"Civilian Remote Shield Transporter": 760, # Ship Equipment > Civilian Modules
"Civilian Scourge Light Missile": 920, # Ammunition & Charges > Missiles > Light Missiles > Standard Light Missiles "Civilian Scourge Light Missile": 920, # Ammunition & Charges > Missiles > Light Missiles > Standard Light Missiles
"Civilian Small Remote Armor Repairer": 760, # Ship Equipment > Civilian Modules
"Civilian Small Remote Shield Booster": 760, # Ship Equipment > Civilian Modules
"Civilian Stasis Webifier": 760, # Ship Equipment > Civilian Modules "Civilian Stasis Webifier": 760, # Ship Equipment > Civilian Modules
"Civilian Thermic Dissipation Field": 760, # Ship Equipment > Civilian Modules "Civilian Thermic Dissipation Field": 760, # Ship Equipment > Civilian Modules
"Civilian Warp Disruptor": 760, # Ship Equipment > Civilian Modules "Civilian Warp Disruptor": 760, # Ship Equipment > Civilian Modules