Changes to effects: Added warp strength projected effects to all kinds of warp disruption modules except for WDFG (this will need some more thinking). Fixed a bug where warp disruptors appeared to reduce the warp strength of the ship they were fitted to Changes to targetingMiscView*.py: Replaced abs() with multiplication by -1 where appropriate
11 lines
281 B
Python
11 lines
281 B
Python
# warpScramble
|
|
#
|
|
# Used by:
|
|
# Modules named like: Warp Disruptor (27 of 27)
|
|
type = "projected", "active"
|
|
|
|
|
|
def handler(fit, module, context):
|
|
if "projected" in context:
|
|
fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))
|