Files
pyfa/eos/effects/shiphtdmgbonusgb.py
2014-05-31 22:13:59 +04:00

12 lines
446 B
Python
Executable File

# Used by:
# Ships named like: Hyperion (3 of 3)
# Ship: Dominix Navy Issue
# Ship: Kronos
# Ship: Megathron Federate Issue
# Ship: Sin
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"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusGB") * level)