Fix effect that used to only be for skill, but is now for a booster (#1324)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, skill, context):
|
||||
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", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)
|
||||
"emDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, skill, context):
|
||||
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", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)
|
||||
"explosiveDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, skill, context):
|
||||
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"),
|
||||
"kineticDamage", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)
|
||||
"kineticDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
type = "passive"
|
||||
|
||||
|
||||
def handler(fit, skill, context):
|
||||
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"),
|
||||
"thermalDamage", skill.getModifiedItemAttr("damageMultiplierBonus") * skill.level)
|
||||
"thermalDamage", src.getModifiedItemAttr("damageMultiplierBonus") * mod)
|
||||
|
||||
Reference in New Issue
Block a user