Files
pyfa/eos/effects/shipbonusptfalloffmb1.py
2014-11-06 02:17:29 +03:00

10 lines
378 B
Python

# shipBonusPTFalloffMB1
#
# Used by:
# Ships named like: Vargur (4 of 4)
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"),
"falloff", ship.getModifiedItemAttr("shipBonusMB") * level)