Files
pyfa/eos/effects/dronearmordamagebonuseffect.py
2015-12-07 20:10:44 -05:00

13 lines
501 B
Python

# droneArmorDamageBonusEffect
#
# Used by:
# Ships from group: Logistics (5 of 5)
# 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"))