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

18 lines
439 B
Python

# 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"))