Files
pyfa/eos/effects/subsystembonuscaldaridefensivesiegewarfare.py
2017-06-25 00:18:06 -04:00

21 lines
1.4 KiB
Python

# Not used by any item
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff2Value",
src.getModifiedItemAttr("subsystemBonusCaldariDefensive"),
skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff1Value",
src.getModifiedItemAttr("subsystemBonusCaldariDefensive"),
skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff3Value",
src.getModifiedItemAttr("subsystemBonusCaldariDefensive"),
skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "buffDuration",
src.getModifiedItemAttr("subsystemBonusCaldariDefensive"),
skill="Caldari Defensive Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Command"), "warfareBuff4Value",
src.getModifiedItemAttr("subsystemBonusCaldariDefensive"),
skill="Caldari Defensive Systems")