Files
pyfa/eos/effects/industrialcoreeffect2.py
2016-04-06 00:10:51 -04:00

11 lines
348 B
Python

# industrialCoreEffect2
#
# Used by:
# Module: Industrial Core I
type = "active"
runTime = "early"
def handler(fit, module, context):
fit.extraAttributes["siege"] = True
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("speedFactor"))
fit.ship.multiplyItemAttr("mass", module.getModifiedItemAttr("siegeMassMultiplier"))