Files
pyfa/eos/effects/shipbonusdreadcitadeltorprofc1.py

10 lines
370 B
Python

# shipBonusDreadCitadelTorpRofC1
#
# Used by:
# Ship: Phoenix
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)