Files
pyfa/eos/effects/structurefullpowerstatehitpointmodifier.py
2018-11-02 15:52:58 +03:00

11 lines
389 B
Python

# structureFullPowerStateHitpointModifier
#
# Used by:
# Items from category: Structure (17 of 17)
type = "passive"
def handler(fit, src, context):
fit.ship.multiplyItemAttr("shieldCapacity", src.getModifiedItemAttr("structureFullPowerStateHitpointMultiplier") or 0)
fit.ship.multiplyItemAttr("armorHP", src.getModifiedItemAttr("structureFullPowerStateHitpointMultiplier") or 0)