9 lines
330 B
Python
9 lines
330 B
Python
# shipModeMaxTargetRangePostDiv
|
|
#
|
|
# Used by:
|
|
# Modules named like: Sharpshooter Mode (2 of 2)
|
|
type = "passive"
|
|
def handler(fit, module, context):
|
|
fit.ship.multiplyItemAttr("maxTargetRange", 1/module.getModifiedItemAttr("modeMaxTargetRangePostDiv"),
|
|
stackingPenalties = True, penaltyGroup="postDiv")
|