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

10 lines
412 B
Python
Executable File

# Used by:
# Variations of ship: Dominix (3 of 3)
# Ship: Nestor
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)