Skip to content

Commit

Permalink
Add missing effect for remote ancil reppers
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed May 15, 2016
1 parent 8c769f1 commit 80dab63
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eos/effects/modulebonusancillaryremotearmorrepairer.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
runTime = "late"
type = "projected", "active"
def handler(fit, module, context):
if "projected" not in context: return

if module.charge and module.charge.name == "Nanite Repair Paste":
module.multiplyItemAttr("armorDamageAmount", 3)

amount = module.getModifiedItemAttr("armorDamageAmount")
speed = module.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("armorRepair", amount / speed)

0 comments on commit 80dab63

Please sign in to comment.