# shipBonusSmartbombCapNeedRoleBonus2 # # Used by: # Variations of ship: Rodiva (2 of 2) # Ship: Damavik # Ship: Drekavac # Ship: Hydra # Ship: Kikimora # Ship: Leshak # Ship: Tiamat # Ship: Vedmak type = "passive" def handler(fit, ship, context): fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Energy Pulse Weapons"), "capacitorNeed", ship.getModifiedItemAttr("shipBonusRole2"))