Files
pyfa/eos/effects/shipptspeedbonusmb2.py
2014-05-31 22:13:59 +04:00

11 lines
437 B
Python
Executable File

# Used by:
# Ships named like: Maelstrom (3 of 3)
# Variations of ship: Tempest (4 of 4)
# Ship: Panther
# Ship: Typhoon Fleet Issue
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Projectile Turret"),
"speed", ship.getModifiedItemAttr("shipBonusMB2") * level)