Files
pyfa/eos/effects/shipmodescanstrengthpostdiv.py
2015-02-14 01:27:52 -05:00

9 lines
330 B
Python

# shipModeScanStrengthPostDiv
#
# Used by:
# Modules named like: Sharpshooter Mode (2 of 2)
type = "passive"
def handler(fit, module, context):
fit.ship.multiplyItemAttr("scanRadarStrength", 1/module.getModifiedItemAttr("modeRadarStrengthPostDiv"),
stackingPenalties = True, penaltyGroup="postDiv")