Files
pyfa/eos/effects/shipsetdmgbonusaf.py

13 lines
419 B
Python

# shipSETDmgBonusAF
#
# Used by:
# Ship: Executioner
# Ship: Gold Magnate
# Ship: Silver Magnate
# Ship: Tormentor
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusAF") * level)