Fixed a few issues with command bursts

This commit is contained in:
blitzman
2016-12-09 00:07:35 -05:00
parent 4a95156e35
commit 907196018b
6 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ def handler(fit, module, context, **kwargs):
if id == 10: # Shield Burst: Shield Harmonizing: Shield Resistance
for damageType in ("Em", "Explosive", "Thermal", "Kinetic"):
fit.ship.boostItemAttr("shield%sDamageResonance" % damageType, value, stackingPenalties=True)
fit.ship.boostItemAttr("shield%sDamageResonance" % damageType, value)
if id == 11: # Shield Burst: Active Shielding: Repair Duration/Capacitor
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Operation") or mod.item.requiresSkill("Shield Emission Systems"), "capacitorNeed", value)

View File

@@ -3,7 +3,7 @@
# Used by:
# Variations of module: Armor Command Burst I (2 of 2)
type = "active"
runTime = "late"
runTime = "early"
def handler(fit, module, context):
for x in xrange(1, 4):

View File

@@ -3,7 +3,7 @@
# Used by:
# Variations of module: Information Command Burst I (2 of 2)
type = "active"
runTime = "late"
runTime = "early"
def handler(fit, module, context):
for x in xrange(1, 4):

View File

@@ -3,7 +3,7 @@
# Used by:
# Variations of module: Shield Command Burst I (2 of 2)
type = "active"
runTime = "late"
runTime = "early"
def handler(fit, module, context):
for x in xrange(1, 4):

View File

@@ -3,7 +3,7 @@
# Used by:
# Variations of module: Skirmish Command Burst I (2 of 2)
type = "active"
runTime = "late"
runTime = "early"
def handler(fit, module, context):
for x in xrange(1, 4):