Files
pyfa/eos/effects/shipbonusdronehitpointsgc2.py
2014-03-15 17:33:45 +04:00

11 lines
443 B
Python
Executable File

# Used by:
# Ships named like: Stratios (2 of 2)
# Variations of ship: Vexor (3 of 4)
# Ship: Gila
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)