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

10 lines
375 B
Python

# shipBonusHTFalloffGB2
#
# Used by:
# Ships named like: Kronos (4 of 4)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Large Hybrid Turret"),
"falloff", ship.getModifiedItemAttr("shipBonusGB2") * level)