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

8 lines
377 B
Python
Executable File

# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Capital Industrial Ships").level
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
"damageMultiplier", ship.getModifiedItemAttr("shipBonusORECapital4") * level)