Fix svipul's sensor str effect on sharpshooter mode
This commit is contained in:
@@ -4,5 +4,9 @@
|
||||
# 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")
|
||||
fit.ship.multiplyItemAttr(
|
||||
"maxTargetRange",
|
||||
1 / module.getModifiedItemAttr("modeMaxTargetRangePostDiv"),
|
||||
stackingPenalties=True,
|
||||
penaltyGroup="postDiv"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user