Files
pyfa/eos/effects/shipbonusdronehitpointsgb2.py
2014-01-22 23:51:42 +04:00

11 lines
432 B
Python
Executable File

# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Nestor
# Ship: Rattlesnake
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Gallente Battleship").level
for type in ("shieldCapacity", "armorHP", "hp"):
fit.drones.filteredItemBoost(lambda drone: drone.item.requiresSkill("Drones"),
type, ship.getModifiedItemAttr("shipBonusGB2") * level)