Files
pyfa/eos/effects/industrialcoreeffect2.py

11 lines
343 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("massMultiplier"))