Update effects
This commit is contained in:
@@ -37658,6 +37658,58 @@ class Effect8264(BaseEffect):
|
||||
skill='Industrial Command Ships', **kwargs)
|
||||
|
||||
|
||||
class Effect8267(BaseEffect):
|
||||
"""
|
||||
weaponDisruptorResistanceBonusPassive
|
||||
|
||||
Used by:
|
||||
Implants named like: Harvest Anti Disruptor Booster (4 of 4)
|
||||
"""
|
||||
|
||||
type = 'passive'
|
||||
|
||||
@staticmethod
|
||||
def handler(fit, container, context, projectionRange, **kwargs):
|
||||
fit.ship.boostItemAttr(
|
||||
'weaponDisruptionResistance',
|
||||
container.getModifiedItemAttr('weaponDisruptionResistanceBonus'), **kwargs)
|
||||
|
||||
|
||||
class Effect8268(BaseEffect):
|
||||
"""
|
||||
nosferatuDurationBonusPassive
|
||||
|
||||
Used by:
|
||||
Implants named like: Harvest Nosferatu Booster (4 of 4)
|
||||
"""
|
||||
|
||||
type = 'passive'
|
||||
|
||||
@staticmethod
|
||||
def handler(fit, module, context, projectionRange, **kwargs):
|
||||
fit.modules.filteredItemBoost(
|
||||
lambda mod: mod.item.group.name == 'Energy Nosferatu', 'duration',
|
||||
module.getModifiedItemAttr('durationBonus'), **kwargs)
|
||||
|
||||
|
||||
class Effect8269(BaseEffect):
|
||||
"""
|
||||
stasisWebifierMaxRangeAddPassive
|
||||
|
||||
Used by:
|
||||
Implants named like: Harvest Webifier Booster (4 of 4)
|
||||
"""
|
||||
|
||||
type = 'passive'
|
||||
|
||||
@staticmethod
|
||||
def handler(fit, module, context, projectionRange, **kwargs):
|
||||
fit.modules.filteredItemIncrease(
|
||||
lambda mod: mod.item.group.name == 'Stasis Web', 'maxRange',
|
||||
module.getModifiedItemAttr('stasisWebRangeAdd'), **kwargs)
|
||||
|
||||
|
||||
|
||||
class Effect8270(BaseEffect):
|
||||
"""
|
||||
capacitorWarfareResistanceBonusPassive
|
||||
|
||||
Reference in New Issue
Block a user