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

10 lines
407 B
Python

# dreadnoughtMD1ProjDmgBonus
#
# Used by:
# Ships named like: Naglfar (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Dreadnought").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Capital Projectile Turret"),
"damageMultiplier", ship.getModifiedItemAttr("dreadnoughtShipBonusM1") * level)