Files
pyfa/eos/effects/shipfalloffbonusgf.py

11 lines
365 B
Python

# shipFalloffBonusGF
#
# Used by:
# Ship: Atron
# Ship: Daredevil
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"falloff", ship.getModifiedItemAttr("shipBonusGF2") * level)