13 lines
514 B
Python
13 lines
514 B
Python
# shipBonusRole2ArmorPlates&ShieldExtendersBonus
|
|
#
|
|
# Used by:
|
|
# Ships from group: Titan (7 of 7)
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, src, context):
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Hull Upgrades"), "armorHPBonusAdd",
|
|
src.getModifiedItemAttr("shipBonusRole2"))
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Shield Upgrades"), "capacityBonus",
|
|
src.getModifiedItemAttr("shipBonusRole2"))
|