Files
pyfa/eos/effects/shipbonusdreadcitadeltorprofc1.py
2014-12-09 18:49:40 -05:00

10 lines
391 B
Python

# shipBonusDreadCitadelTorpRofC1
#
# Used by:
# Ships named like: Phoenix (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Citadel Torpedoes"),
"speed", ship.getModifiedItemAttr("dreadnoughtShipBonusC1") * level)