Files
pyfa/eos/effects/subsystembonusamarrpropulsionmaxvelocity.py

9 lines
342 B
Python

# subsystemBonusAmarrPropulsionMaxVelocity
#
# Used by:
# Subsystem: Legion Propulsion - Chassis Optimization
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Amarr Propulsion Systems").level
fit.ship.boostItemAttr("maxVelocity", module.getModifiedItemAttr("subsystemBonusAmarrPropulsion") * level)