Add missing effect for remote ancil reppers
This commit is contained in:
11
eos/effects/modulebonusancillaryremotearmorrepairer.py
Normal file
11
eos/effects/modulebonusancillaryremotearmorrepairer.py
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user