Fix Cataclysmic Variable effects (#628)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user