diff --git a/eos/effects/boostershieldboostamountpenaltyshieldskills.py b/eos/effects/boostershieldboostamountpenaltyshieldskills.py new file mode 100644 index 000000000..d3badaf46 --- /dev/null +++ b/eos/effects/boostershieldboostamountpenaltyshieldskills.py @@ -0,0 +1,14 @@ +type = "boosterSideEffect" + +# User-friendly name for the side effect +displayName = "Shield Boost" + +# Attribute that this effect targets +attr = "boosterShieldBoostAmountPenalty" + + +def handler(fit, src, context): + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation"), "shieldBonus", + src.getModifiedItemAttr("boosterShieldBoostAmountPenalty")) + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Shield Operation"), "shieldBonus", + src.getModifiedItemAttr("boosterShieldBoostAmountPenalty"))