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

13 lines
464 B
Python

# missileSkillWarheadUpgradesExplosiveDamageBonus
#
# 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"),
"explosiveDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)