MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / handler

Method handler

eos/effects.py:36820–36842  ·  view source on GitHub ↗
(fit, beacon, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

36818
36819 @staticmethod
36820 def handler(fit, beacon, context, projectionRange, **kwargs):
36821 fit.modules.filteredItemMultiply(
36822 lambda mod: mod.item.requiresSkill('Shield Emission Systems') or
36823 mod.item.requiresSkill('Capital Shield Emission Systems'),
36824 'shieldBonus', beacon.getModifiedItemAttr('shieldBonusMultiplierRemote'),
36825 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
36826 fit.modules.filteredItemMultiply(
36827 lambda mod: mod.item.requiresSkill('Remote Armor Repair Systems') or
36828 mod.item.requiresSkill('Capital Remote Armor Repair Systems'),
36829 'armorDamageAmount', beacon.getModifiedItemAttr('armorDamageAmountMultiplierRemote'),
36830 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
36831 fit.ship.multiplyItemAttr('shieldCapacity', beacon.getModifiedItemAttr('shieldCapacityMultiplier'), **kwargs)
36832 fit.ship.multiplyItemAttr('capacitorCapacity', beacon.getModifiedItemAttr('capacitorCapacityMultiplierSystem'), **kwargs)
36833 fit.ship.multiplyItemAttr('signatureRadius', beacon.getModifiedItemAttr('signatureRadiusMultiplier'),
36834 stackingPenalties=True, penaltyGroup='postMul', **kwargs)
36835 fit.ship.boostItemAttr('shieldExplosiveDamageResonance',
36836 beacon.getModifiedItemAttr('shieldExplosiveDamageResistanceBonus'),
36837 stackingPenalties=True, **kwargs)
36838 fit.ship.boostItemAttr('armorExplosiveDamageResonance',
36839 beacon.getModifiedItemAttr('armorExplosiveDamageResistanceBonus'),
36840 stackingPenalties=True, **kwargs)
36841 fit.ship.boostItemAttr('explosiveDamageResonance', beacon.getModifiedItemAttr('explosiveDamageResistanceBonus'),
36842 stackingPenalties=True, **kwargs)
36843
36844
36845class Effect8114(BaseEffect):

Callers

nothing calls this directly

Calls 5

filteredItemMultiplyMethod · 0.80
requiresSkillMethod · 0.80
multiplyItemAttrMethod · 0.80
boostItemAttrMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected