Revert "Convert remaining files to CRLF"

This reverts commit a8ab876053.
This commit is contained in:
blitzman
2017-02-07 19:05:45 -05:00
parent a8ab876053
commit 3ccd4ad2ca
18 changed files with 306 additions and 306 deletions

View File

@@ -1,13 +1,13 @@
# modifyActiveArmorResonancePostPercent
#
# Used by:
# Modules from group: Armor Hardener (156 of 156)
# Modules from group: Flex Armor Hardener (4 of 4)
type = "active"
def handler(fit, module, context):
for damageType in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType.capitalize(),
module.getModifiedItemAttr("%sDamageResistanceBonus" % damageType),
stackingPenalties=True)
# modifyActiveArmorResonancePostPercent
#
# Used by:
# Modules from group: Armor Hardener (156 of 156)
# Modules from group: Flex Armor Hardener (4 of 4)
type = "active"
def handler(fit, module, context):
for damageType in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("armor%sDamageResonance" % damageType.capitalize(),
module.getModifiedItemAttr("%sDamageResistanceBonus" % damageType),
stackingPenalties=True)

View File

@@ -1,13 +1,13 @@
# modifyActiveShieldResonancePostPercent
#
# Used by:
# Modules from group: Flex Shield Hardener (5 of 5)
# Modules from group: Shield Hardener (97 of 97)
type = "active"
def handler(fit, module, context):
for damageType in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("shield" + damageType.capitalize() + "DamageResonance",
module.getModifiedItemAttr(damageType + "DamageResistanceBonus"),
stackingPenalties=True)
# modifyActiveShieldResonancePostPercent
#
# Used by:
# Modules from group: Flex Shield Hardener (5 of 5)
# Modules from group: Shield Hardener (97 of 97)
type = "active"
def handler(fit, module, context):
for damageType in ("kinetic", "thermal", "explosive", "em"):
fit.ship.boostItemAttr("shield" + damageType.capitalize() + "DamageResonance",
module.getModifiedItemAttr(damageType + "DamageResistanceBonus"),
stackingPenalties=True)

View File

@@ -1,10 +1,10 @@
# shipBonusRepairSystemsBonusATC2
#
# Used by:
# Ship: Vangel
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusATC2"))
# shipBonusRepairSystemsBonusATC2
#
# Used by:
# Ship: Vangel
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", ship.getModifiedItemAttr("shipBonusATC2"))

View File

@@ -1,11 +1,11 @@
# shipEnergyNeutralizerTransferAmountBonusAB
#
# Used by:
# Ship: Bhaalgorn
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Neutralizer",
"energyNeutralizerAmount", ship.getModifiedItemAttr("shipBonusAB"),
skill="Amarr Battleship")
# shipEnergyNeutralizerTransferAmountBonusAB
#
# Used by:
# Ship: Bhaalgorn
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Energy Neutralizer",
"energyNeutralizerAmount", ship.getModifiedItemAttr("shipBonusAB"),
skill="Amarr Battleship")

View File

@@ -1,13 +1,13 @@
# skillReactiveArmorHardenerCapNeedBonus
#
# Used by:
# Skill: Resistance Phasing
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Resistance Shift Hardener", "capacitorNeed",
src.getModifiedItemAttr("capNeedBonus") * lvl)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Resistance Phasing"), "capacitorNeed",
src.getModifiedItemAttr("capNeedBonus") * lvl)
# skillReactiveArmorHardenerCapNeedBonus
#
# Used by:
# Skill: Resistance Phasing
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Resistance Shift Hardener", "capacitorNeed",
src.getModifiedItemAttr("capNeedBonus") * lvl)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Resistance Phasing"), "capacitorNeed",
src.getModifiedItemAttr("capNeedBonus") * lvl)

View File

@@ -1,13 +1,13 @@
# skillReactiveArmorHardenerDurationBonus
#
# Used by:
# Skill: Resistance Phasing
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Resistance Shift Hardener", "duration",
src.getModifiedItemAttr("durationBonus") * lvl)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Resistance Phasing"), "duration",
src.getModifiedItemAttr("durationBonus") * lvl)
# skillReactiveArmorHardenerDurationBonus
#
# Used by:
# Skill: Resistance Phasing
type = "passive"
def handler(fit, src, context):
lvl = src.level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Armor Resistance Shift Hardener", "duration",
src.getModifiedItemAttr("durationBonus") * lvl)
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Resistance Phasing"), "duration",
src.getModifiedItemAttr("durationBonus") * lvl)

View File

@@ -1,11 +1,11 @@
# subsystemBonusAmarrDefensiveArmorRepairAmount
#
# Used by:
# Subsystem: Legion Defensive - Nanobot Injector
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")
# subsystemBonusAmarrDefensiveArmorRepairAmount
#
# Used by:
# Subsystem: Legion Defensive - Nanobot Injector
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusAmarrDefensive"),
skill="Amarr Defensive Systems")

View File

@@ -1,11 +1,11 @@
# subsystemBonusGallenteDefensiveArmorRepairAmount
#
# Used by:
# Subsystem: Proteus Defensive - Nanobot Injector
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusGallenteDefensive"),
skill="Gallente Defensive Systems")
# subsystemBonusGallenteDefensiveArmorRepairAmount
#
# Used by:
# Subsystem: Proteus Defensive - Nanobot Injector
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("subsystemBonusGallenteDefensive"),
skill="Gallente Defensive Systems")