Files
pyfa/eos/effects/dronearmordamagebonuseffect.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

12 lines
463 B
Python
Executable File

# Used by:
# Ship: Exequror
# Ship: Guardian
# Ship: Oneiros
# 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"))