Files
pyfa/eos/effects/shipbonusdreadcitadeltorprofc1.py
2014-01-22 23:51:42 +04:00

8 lines
335 B
Python

# 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)