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

13 lines
466 B
Python
Executable File

# Used by:
# Ship: Basilisk
# Ship: Etana
# Ship: Exequror
# Ship: Scimitar
# Ship: Scythe
type = "passive"
def handler(fit, ship, context):
# This is actually level-less bonus, anyway you have to train cruisers 5
# and will get 100% (20%/lvl as stated by description)
fit.drones.filteredItemBoost(lambda drone: drone.item.group.name == "Logistic Drone",
"shieldBonus", ship.getModifiedItemAttr("droneShieldBonusBonus"))