Skip to content

Commit

Permalink
Penalize scanres rigs
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Sep 4, 2013
1 parent cd41a12 commit 30c0b19
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.ship.boostItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionBonus") * level)
penalized = False if "skill" in context or "implant" in context or "booster" in context else True
fit.ship.boostItemAttr("scanResolution", container.getModifiedItemAttr("scanResolutionBonus") * level,
stackingPenalties=penalized)

0 comments on commit 30c0b19

Please sign in to comment.