Files
pyfa/eos/effects/effect4321.py
2019-03-16 14:08:20 -04:00

19 lines
1.2 KiB
Python

# subsystemBonusCaldariCore2ECMStrengthRange
#
# Used by:
# Subsystem: Tengu Core - Obfuscation Manifold
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanLadarStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanRadarStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "maxRange",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanGravimetricStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM", "scanMagnetometricStrengthBonus",
src.getModifiedItemAttr("subsystemBonusCaldariCore2"), skill="Caldari Core Systems")