Add titan gang bonuses, along with other things

This commit is contained in:
blitzmann
2016-04-29 18:47:53 -04:00
parent 1669a5434c
commit cfd82a6ad4
8 changed files with 57 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
type = "passive"
type = "active"
def handler(fit, src, context):
fit.ship.increaseItemAttr("maxLockedTargets", src.getModifiedItemAttr("maxLockedTargetsBonus"))
fit.ship.multiplyItemAttr("maxTargetRange", src.getModifiedItemAttr("maxTargetRangeMultiplier"), stackingPenalties=True, penaltyGroup="postMul")