Merge pull request #1380 from pyfa-org/bug/1377

Add stacking penalties to dromi fighters
This commit is contained in:
Ryan Holmes
2018-02-12 23:35:40 -05:00
committed by GitHub

View File

@@ -14,4 +14,5 @@ grouped = True
def handler(fit, src, context):
if "projected" not in context:
return
fit.ship.boostItemAttr("maxVelocity", src.getModifiedItemAttr("{}SpeedPenalty".format(prefix)) * src.amountActive)
fit.ship.boostItemAttr("maxVelocity", src.getModifiedItemAttr("{}SpeedPenalty".format(prefix)) * src.amountActive,
stackingPenalties=True)