16 lines
359 B
Python
16 lines
359 B
Python
# boosterArmorHpPenalty
|
|
#
|
|
# Used by:
|
|
# Implants named like: Booster (12 of 35)
|
|
type = "boosterSideEffect"
|
|
|
|
# User-friendly name for the side effect
|
|
displayName = "Armor Capacity"
|
|
|
|
# Attribute that this effect targets
|
|
attr = "boosterArmorHPPenalty"
|
|
|
|
|
|
def handler(fit, booster, context):
|
|
fit.ship.boostItemAttr("armorHP", booster.getModifiedItemAttr(attr))
|