Files
pyfa/eos/effects/effect6083.py
2019-03-16 14:08:20 -04:00

14 lines
433 B
Python

# shipSmallMissileDmgPirateFaction
#
# Used by:
# Ship: Jackdaw
# Ship: Sunesis
type = "passive"
def handler(fit, ship, context):
for damageType in ("em", "explosive", "kinetic", "thermal"):
fit.modules.filteredChargeBoost(
lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"),
"{0}Damage".format(damageType), ship.getModifiedItemAttr("shipBonusRole7"))