Files
pyfa/eos/effects/shipmodescanrespostdiv.py
2015-06-23 00:00:09 +03:00

13 lines
327 B
Python

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