Duration is not penalized
This commit is contained in:
@@ -979,11 +979,9 @@ class Effect272(BaseEffect):
|
||||
@staticmethod
|
||||
def handler(fit, container, context, projectionRange, **kwargs):
|
||||
level = container.level if 'skill' in context else 1
|
||||
penalize = False if 'skill' in context or 'booster' in context or 'implant' in context else True
|
||||
fit.modules.filteredItemBoost(
|
||||
lambda mod: mod.item.requiresSkill('Repair Systems'), 'duration',
|
||||
container.getModifiedItemAttr('durationSkillBonus') * level,
|
||||
stackingPenalties=penalize, **kwargs)
|
||||
container.getModifiedItemAttr('durationSkillBonus') * level, **kwargs)
|
||||
|
||||
|
||||
class Effect273(BaseEffect):
|
||||
@@ -4937,10 +4935,9 @@ class Effect1635(BaseEffect):
|
||||
@staticmethod
|
||||
def handler(fit, container, context, projectionRange, **kwargs):
|
||||
level = container.level if 'skill' in context else 1
|
||||
penalize = False if 'skill' in context or 'booster' in context else True
|
||||
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill('Capital Repair Systems'),
|
||||
'duration', container.getModifiedItemAttr('durationSkillBonus') * level,
|
||||
stackingPenalties=penalize, **kwargs)
|
||||
fit.modules.filteredItemBoost(
|
||||
lambda mod: mod.item.requiresSkill('Capital Repair Systems'), 'duration',
|
||||
container.getModifiedItemAttr('durationSkillBonus') * level, **kwargs)
|
||||
|
||||
|
||||
class Effect1638(BaseEffect):
|
||||
|
||||
Reference in New Issue
Block a user