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

14 lines
402 B
Python

# shipBonusDroneHitpointsGF
#
# Used by:
# Ship: Astero
# Ship: Maulus Navy Issue
# Ship: Tristan
type = "passive"
def handler(fit, ship, context):
for layer in ("shieldCapacity", "armorHP", "hp"):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
layer, ship.getModifiedItemAttr("shipBonusGF"), skill="Gallente Frigate")