Files
pyfa/eos/effects/effect3172.py
2019-03-16 14:08:20 -04:00

15 lines
503 B
Python

# droneArmorDamageBonusEffect
#
# Used by:
# Ships from group: Logistics (6 of 7)
# Ship: Exequror
# 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",
"armorDamageAmount", ship.getModifiedItemAttr("droneArmorDamageAmountBonus"))