Files
pyfa/eos/effects/shipbonusdronehitpointsrookie.py
2014-05-31 22:13:59 +04:00

10 lines
375 B
Python
Executable File

# Used by:
# Variations of ship: Procurer (2 of 2)
# Ship: Gnosis
# Ship: Taipan
# Ship: Velator
type = "passive"
def handler(fit, ship, context):
for type in ("shieldCapacity", "armorHP", "hp"):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
type, ship.getModifiedItemAttr("rookieDroneBonus"))