Skip to content

Commit

Permalink
fix some rigs
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Sep 27, 2016
1 parent 9a574cb commit 44fb4a5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions eos/effects/structurerigdoomsdaydamageloss.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemMultiply(lambda mod: mod.item.group.name == "Structure Doomsday Weapon",
"lightningWeaponDamageLossTarget", src.getModifiedItemAttr("structureRigDoomsdayDamageLossTargetBonus"),
stackingPenalties=True)
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Structure Doomsday Weapon",
"lightningWeaponDamageLossTarget", src.getModifiedItemAttr("structureRigDoomsdayDamageLossTargetBonus"))
3 changes: 1 addition & 2 deletions eos/effects/structurerigdoomsdaytargetamountbonus.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Structure Doomsday Weapon",
"lightningWeaponTargetAmount", src.getModifiedItemAttr("structureRigDoomsdayTargetAmountBonus"),
stackingPenalties=True)
"lightningWeaponTargetAmount", src.getModifiedItemAttr("structureRigDoomsdayTargetAmountBonus"))
2 changes: 1 addition & 1 deletion eos/effects/structurerigmaxtargets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.ship.filteredItemIncrease("maxLockedTargets", src.getModifiedItemAttr("structureRigMaxTargetBonus"))
fit.ship.increaseItemAttr("maxLockedTargets", src.getModifiedItemAttr("structureRigMaxTargetBonus"))
3 changes: 1 addition & 2 deletions eos/effects/structurerigsensorresolution.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
type = "passive"
def handler(fit, src, context):
fit.ship.filteredItemBoost("scanResolution", src.getModifiedItemAttr("structureRigScanResBonus"),
stackingPenalties=True)
fit.ship.boostItemAttr("scanResolution", src.getModifiedItemAttr("structureRigScanResBonus"), stackingPenalties=True)

0 comments on commit 44fb4a5

Please sign in to comment.