16 lines
804 B
Python
16 lines
804 B
Python
# structureAoERoFRoleBonus
|
|
#
|
|
# Used by:
|
|
# Items from category: Structure (11 of 17)
|
|
# Structures from group: Citadel (8 of 9)
|
|
type = "passive"
|
|
|
|
|
|
def handler(fit, ship, context):
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Structure Guided Bomb Launcher",
|
|
"speed", ship.getModifiedItemAttr("structureAoERoFRoleBonus"))
|
|
for attr in ["duration", "durationTargetIlluminationBurstProjector", "durationWeaponDisruptionBurstProjector",
|
|
"durationECMJammerBurstProjector", "durationSensorDampeningBurstProjector", "capacitorNeed"]:
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Structure Burst Projector",
|
|
attr, ship.getModifiedItemAttr("structureAoERoFRoleBonus"))
|