This commit is contained in:
DarkPhoenix
2014-03-12 01:04:02 +04:00
parent 4fa585046f
commit 63a088631d
2 changed files with 9 additions and 1 deletions

View File

@@ -5,4 +5,4 @@ type = ("projected", "offline")
def handler(fit, module, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Armor Repair Unit",
"armorDamageAmount", module.getModifiedItemAttr("armorDamageAmountMultiplier"),
stackingPenalties = True)
stackingPenalties = True, penaltyGroup="postMul")

View File

@@ -0,0 +1,8 @@
# Used by:
# Celestials named like: Cataclysmic Variable Beacon Class (6 of 6)
runTime = "early"
type = ("projected", "offline")
def handler(fit, module, context):
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")