Fix several miscalculations
This commit is contained in:
9
eos/effects/sensorboosttargetedhostile.py
Normal file
9
eos/effects/sensorboosttargetedhostile.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# Used by:
|
||||
# Drones named like: SD (3 of 3)
|
||||
type = "projected", "active"
|
||||
def handler(fit, container, context):
|
||||
if "projected" in context:
|
||||
fit.ship.multiplyItemAttr("maxTargetRange", container.getModifiedItemAttr("maxTargetRangeMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
fit.ship.multiplyItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionMultiplier"),
|
||||
stackingPenalties = True, penaltyGroup="postMul")
|
||||
Reference in New Issue
Block a user