@@ -8,6 +8,9 @@ type = "passive"
|
||||
def handler(fit, module, context):
|
||||
types = ("thermal", "em", "explosive", "kinetic")
|
||||
for type in types:
|
||||
fit.modules.filteredChargeBoost(
|
||||
lambda mod: mod.charge.requiresSkill("Rockets") or mod.charge.requiresSkill("Light Missiles"),
|
||||
"{}Damage".format(type), 1 / module.getModifiedItemAttr("modeDamageBonusPostDiv"))
|
||||
fit.modules.filteredChargeMultiply(lambda mod: mod.charge.requiresSkill("Rockets") or
|
||||
mod.charge.requiresSkill("Light Missiles"),
|
||||
"{}Damage".format(type),
|
||||
1 / module.getModifiedItemAttr("modeDamageBonusPostDiv"),
|
||||
stackingPenalties = True,
|
||||
penaltyGroup="postDiv")
|
||||
|
||||
Reference in New Issue
Block a user