Files
pyfa/eos/effects/effect4637.py
2019-03-16 14:08:20 -04:00

13 lines
368 B
Python

# shipCruiseAndTorpedoVelocityBonusCB3
#
# Used by:
# Ship: Golem
# Ship: Widow
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredChargeBoost(
lambda mod: mod.charge.requiresSkill("Cruise Missiles") or mod.charge.requiresSkill("Torpedoes"),
"maxVelocity", ship.getModifiedItemAttr("shipBonusCB3"), skill="Caldari Battleship")