Files
pyfa/eos/effects/missileskillwarheadupgradesemdamagebonus.py
2018-07-15 01:09:07 -04:00

13 lines
450 B
Python

# missileSkillWarheadUpgradesEmDamageBonus
#
# Used by:
# Implants named like: Agency 'Pyrolancea' DB Dose (4 of 4)
# Skill: Warhead Upgrades
type = "passive"
def handler(fit, src, context):
mod = src.level if "skill" in context else 1
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
"emDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)