Files
pyfa/eos/effects/missiledmgbonus.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

9 lines
538 B
Python
Executable File

# Used by:
# Modules from group: Ballistic Control system (21 of 21)
# Modules named like: QA Multiship Module Players (4 of 4)
type = "passive"
def handler(fit, container, context):
for dmgType in ("em", "kinetic", "explosive", "thermal"):
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"%sDamage" % dmgType, container.getModifiedItemAttr("missileDamageMultiplierBonus"),
stackingPenalties = True)