From ea6f31c0219611efaf0a7a8a5a6630c9aadb6303 Mon Sep 17 00:00:00 2001 From: burnsypet Date: Wed, 1 Nov 2017 22:55:05 +0000 Subject: [PATCH] Added disruption effect for WDFG --- eos/effects/warpdisruptsphere.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eos/effects/warpdisruptsphere.py b/eos/effects/warpdisruptsphere.py index 3fe88bd13..257706827 100644 --- a/eos/effects/warpdisruptsphere.py +++ b/eos/effects/warpdisruptsphere.py @@ -2,7 +2,7 @@ # # Used by: # Modules from group: Warp Disrupt Field Generator (7 of 7) -type = "active" +type = "projected", "active" runTime = "early" @@ -14,3 +14,6 @@ def handler(fit, module, context): fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module", "speedFactor", module.getModifiedItemAttr("speedFactorBonus")) fit.ship.forceItemAttr("disallowAssistance", 1) + + if "projected" in context: + fit.ship.increaseItemAttr("warpScrambleStatus", module.getModifiedItemAttr("warpScrambleStrength"))