Files
pyfa/eos/effects/shiphtdmgbonusgb.py
2014-03-15 17:33:45 +04:00

12 lines
446 B
Python
Executable File

# Used by:
# Ships named like: Hyperion (2 of 2)
# 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)