Files
pyfa/eos/effects/hardpointmodifiereffect.py
2017-06-25 00:18:06 -04:00

11 lines
359 B
Python

# hardPointModifierEffect
#
# Used by:
# Subsystems from group: Offensive Systems (12 of 12)
type = "passive"
def handler(fit, module, context):
fit.ship.increaseItemAttr("turretSlotsLeft", module.getModifiedItemAttr("turretHardPointModifier"))
fit.ship.increaseItemAttr("launcherSlotsLeft", module.getModifiedItemAttr("launcherHardPointModifier"))