From 4b65662c9f6872f300563af42f0a6ba0c4ec170c Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Tue, 30 Apr 2019 15:37:27 +0300 Subject: [PATCH] Fix triage effect local tank stacking penalty --- eos/effects.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eos/effects.py b/eos/effects.py index c1f9d8009..66231138d 100644 --- a/eos/effects.py +++ b/eos/effects.py @@ -28896,7 +28896,7 @@ class Effect6581(BaseEffect): @staticmethod def handler(fit, src, context): - # Remote effect bonuses (duration / amount / range / fallout) + # Remote effect bonuses (duration / amount / range / falloff) for skill, amtAttr, stack in ( ('Capital Remote Armor Repair Systems', 'armorDamageAmount', True), ('Capital Shield Emission Systems', 'shieldBonus', True), @@ -28912,14 +28912,15 @@ class Effect6581(BaseEffect): fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill(skill), 'falloffEffectiveness', src.getModifiedItemAttr('siegeRemoteLogisticsRangeBonus'), stackingPenalties=True) - # Local armor/shield rep effects (duration / amoutn) + # Local armor/shield rep effects (duration / amount) for skill, amtAttr in ( ('Capital Shield Operation', 'shieldBonus'), ('Capital Repair Systems', 'armorDamageAmount')): fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill(skill), 'duration', src.getModifiedItemAttr('siegeLocalLogisticsDurationBonus')) fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill(skill), amtAttr, - src.getModifiedItemAttr('siegeLocalLogisticsAmountBonus')) + src.getModifiedItemAttr('siegeLocalLogisticsAmountBonus'), + stackingPenalties=True) # Speed bonus fit.ship.boostItemAttr('maxVelocity', src.getModifiedItemAttr('speedFactor'), stackingPenalties=True)