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

10 lines
430 B
Python
Executable File

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