Files
pyfa/eos/effects/subsystembonuscaldaricore2ecmstrengthrange.py
blitzmann d19486ce15 cleanup
2017-07-11 02:30:26 -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")