Merge remote-tracking branch 'blitzmann/singularity' into singularity

This commit is contained in:
blitzmann
2015-02-14 01:33:08 -05:00
19 changed files with 88 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
# modeAgilityPostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Propulsion Mode
# Modules named like: Propulsion Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("agility", 1/module.getModifiedItemAttr("modeAgilityPostDiv"),

View File

@@ -1,7 +1,7 @@
# modeArmorResonancePostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Defense Mode
# Modules named like: Defense Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
for resType in ("Em", "Explosive", "Kinetic"):

View File

@@ -0,0 +1,9 @@
# modeMWDSigRadiusPostDiv
#
# Used by:
# Module: Svipul Defense Mode
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("High Speed Maneuvering"),
"signatureRadiusBonus", 1/module.getModifiedItemAttr("modeMWDSigPenaltyPostDiv"),
stackingPenalties = True, penaltyGroup="postDiv")

View File

@@ -0,0 +1,15 @@
# modeShieldResonancePostDiv
#
# Used by:
# Module: Svipul Defense Mode
type = "passive"
def handler(fit, module, context):
for resType in ("Em", "Explosive", "Kinetic"):
fit.ship.multiplyItemAttr("shield{0}DamageResonance".format(resType),
1/module.getModifiedItemAttr("mode{0}ResistancePostDiv".format(resType)),
stackingPenalties = True, penaltyGroup="postDiv")
# Thermal != Thermic
fit.ship.multiplyItemAttr("shieldThermalDamageResonance",
1/module.getModifiedItemAttr("modeThermicResistancePostDiv"),
stackingPenalties = True, penaltyGroup="postDiv")

View File

@@ -1,7 +1,7 @@
# modeSigRadiusPostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Defense Mode
# Module: Confessor Defense Mode
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("signatureRadius", 1/module.getModifiedItemAttr("modeSignatureRadiusPostDiv"),

View File

@@ -1,7 +1,7 @@
# modeVelocityPostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Propulsion Mode
# Modules named like: Propulsion Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("maxVelocity", 1/module.getModifiedItemAttr("modeVelocityPostDiv"),

View File

@@ -1,7 +1,7 @@
# probeLauncherCPUPercentBonusTacticalDestroyer
#
# Used by:
# Ship: Confessor
# Ships from group: Tactical Destroyer (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Astrometrics"),

View File

@@ -1,4 +1,4 @@
# energyTransferPowerNeedBonusEffect
# remoteCapacitorTransmitterPowerNeedBonusEffect
#
# Used by:
# Ships from group: Logistics (3 of 5)

View File

@@ -0,0 +1,9 @@
# shipHeatDamageMinmatarTacticalDestroyer3
#
# Used by:
# Ship: Svipul
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Tactical Destroyer").level
fit.modules.filteredItemBoost(lambda mod: True, "heatDamage",
ship.getModifiedItemAttr("shipBonusTacticalDestroyerMinmatar3") * level)

View File

@@ -1,7 +1,7 @@
# shipModeMaxTargetRangePostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Sharpshooter Mode
# Modules named like: Sharpshooter Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("maxTargetRange", 1/module.getModifiedItemAttr("modeMaxTargetRangePostDiv"),

View File

@@ -1,7 +1,7 @@
# shipModeScanResPostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Sharpshooter Mode
# Modules named like: Sharpshooter Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("scanResolution", 1/module.getModifiedItemAttr("modeScanResPostDiv"),

View File

@@ -1,7 +1,7 @@
# shipModeScanStrengthPostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Sharpshooter Mode
# Modules named like: Sharpshooter Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("scanRadarStrength", 1/module.getModifiedItemAttr("modeRadarStrengthPostDiv"),

View File

@@ -1,7 +1,7 @@
# shipModeSETOptimalRangePostDiv
#
# Used by:
# Module: Amarr Tactical Destroyer Sharpshooter Mode
# Module: Confessor Sharpshooter Mode
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Small Energy Turret"),

View File

@@ -0,0 +1,9 @@
# shipModeSPTTrackingPostDiv
#
# Used by:
# Module: Svipul Sharpshooter Mode
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"trackingSpeed", 1/module.getModifiedItemAttr("modeTrackingPostDiv"),
stackingPenalties=True, penaltyGroup="postDiv")

View File

@@ -0,0 +1,9 @@
# shipSPTDamageMinmatarTacticalDestroyer1
#
# Used by:
# Ship: Svipul
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Tactical Destroyer").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusTacticalDestroyerMinmatar1") * level)

View File

@@ -0,0 +1,9 @@
# shipSPTOptimalMinmatarTacticalDestroyer2
#
# Used by:
# Ship: Svipul
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Tactical Destroyer").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Projectile Turret"),
"maxRange", ship.getModifiedItemAttr("shipBonusTacticalDestroyerMinmatar2") * level)