Stacking penalize missile flight time rigs
This commit is contained in:
@@ -7,5 +7,7 @@
|
||||
type = "passive"
|
||||
def handler(fit, container, context):
|
||||
level = container.level if "skill" in context else 1
|
||||
penalized = False if "skill" in context or "implant" in context else True
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"explosionDelay", container.getModifiedItemAttr("maxFlightTimeBonus") * level)
|
||||
"explosionDelay", container.getModifiedItemAttr("maxFlightTimeBonus") * level,
|
||||
stackingPenalties=penalized)
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
type = "passive"
|
||||
def handler(fit, container, context):
|
||||
level = container.level if "skill" in context else 1
|
||||
penalized = False if "skill" in context or "implant" in context else True
|
||||
fit.modules.filteredChargeBoost(lambda mod: mod.charge.requiresSkill("Missile Launcher Operation"),
|
||||
"maxVelocity", container.getModifiedItemAttr("speedFactor") * level,
|
||||
stackingPenalties = "skill" not in context and "implant" not in context)
|
||||
stackingPenalties=penalized)
|
||||
|
||||
Reference in New Issue
Block a user