Skip to content

Commit

Permalink
Penalize speed ganglinks against overheat on module itself (fixes #170)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Nov 6, 2014
1 parent c28e52f commit 98cac2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eos/effects/gangabmwdfactorboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def handler(fit, module, context):
if "gang" not in context: return
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module",
"speedFactor", module.getModifiedItemAttr("commandBonus"),
stackingPenalties = True)
stackingPenalties=True)
3 changes: 2 additions & 1 deletion eos/effects/overloadselfspeedbonus.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
# Modules from group: Propulsion Module (107 of 107)
type = "overheat"
def handler(fit, module, context):
module.boostItemAttr("speedFactor", module.getModifiedItemAttr("overloadSpeedFactorBonus"))
module.boostItemAttr("speedFactor", module.getModifiedItemAttr("overloadSpeedFactorBonus"),
stackingPenalties=True)

0 comments on commit 98cac2a

Please sign in to comment.