Files
pyfa/eos/effects/shipbonusdronehitpointsgc2.py
2013-10-08 00:35:18 +04:00

11 lines
422 B
Python
Executable File

# Used by:
# Variations of ship: Vexor (3 of 4)
# Ship: Gila
# Ship: Stratios
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Cruiser").level
for type in ("shieldCapacity", "armorHP", "hp"):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
type, ship.getModifiedItemAttr("shipBonusGC2") * level)