Fix Cataclysmic Variable effects (#628)

This commit is contained in:
blitzmann
2016-07-07 19:21:41 -04:00
parent 8f64c91677
commit 91c6e91023
4 changed files with 6 additions and 4 deletions

View File

@@ -5,6 +5,6 @@
runTime = "early"
type = ("projected", "passive")
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Armor Repairer",
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Remote Armor Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplierRemote"),
stackingPenalties=True)

View File

@@ -5,6 +5,7 @@
runTime = "early"
type = ("projected", "passive")
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Armor Repair Unit",
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Repair Systems")
or mod.item.requiresSkill("Capital Repair Systems"),
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplier"),
stackingPenalties=True, penaltyGroup="postMul")

View File

@@ -5,6 +5,6 @@
runTime = "early"
type = ("projected", "passive")
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Remote Shield Booster",
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Emission Systems"),
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplierRemote"),
stackingPenalties=True, penaltyGroup="postMul")

View File

@@ -5,6 +5,7 @@
runTime = "early"
type = ("projected", "passive")
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Capital Shield Operation"),
fit.modules.filteredItemMultiply(lambda mod: mod.item.requiresSkill("Shield Operation")
or mod.item.requiresSkill("Capital Shield Operation"),
"shieldBonus", module.getModifiedItemAttr("shieldBonusMultiplier"),
stackingPenalties=True, penaltyGroup="postMul")