Files
pyfa/eos/effects/effect446.py
2019-03-16 14:08:20 -04:00

15 lines
556 B
Python

# shieldManagementShieldCapacityBonusPostPercentCapacityLocationShipGroupShield
#
# Used by:
# Implants named like: Zainou 'Gnome' Shield Management SM (6 of 6)
# Modules named like: Core Defense Field Extender (8 of 8)
# Implant: Genolution Core Augmentation CA-3
# Implant: Sansha Modified 'Gnome' Implant
# Skill: Shield Management
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.ship.boostItemAttr("shieldCapacity", container.getModifiedItemAttr("shieldCapacityBonus") * level)