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

Method handler

eos/effects.py:38125–38134  ·  view source on GitHub ↗
(fit, ship, context, projectionRange, **kwargs)

Source from the content-addressed store, hash-verified

38123
38124 @staticmethod
38125 def handler(fit, ship, context, projectionRange, **kwargs):
38126 fit.modules.filteredItemBoost(
38127 lambda mod: mod.item.group.name == 'Shield Extender',
38128 'capacityBonus', ship.getModifiedItemAttr('battleshipExtenderHPBonus'), **kwargs)
38129 fit.modules.filteredItemBoost(
38130 lambda mod: mod.item.group.name == 'Armor Plate',
38131 'armorHPBonusAdd', ship.getModifiedItemAttr('battleshipPlateHPBonus'), **kwargs)
38132 fit.modules.filteredItemIncrease(
38133 lambda mod: mod.item.group.name == 'Reinforced Bulkhead',
38134 'structureHPMultiplier', ship.getModifiedItemAttr('battleshipBulkheadHPModifierBonus'), **kwargs)
38135
38136
38137class Effect8467(BaseEffect):

Callers

nothing calls this directly

Calls 3

filteredItemBoostMethod · 0.80
filteredItemIncreaseMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected